简体   繁体   English

最小的MinGW-w64,无需其他库

[英]Minimal MinGW-w64 without additional libraries

Prebuild MinGW-w64 comes with lots of handy built-in packages such as openssl , sqlite , python , d3d and others. Prebuild MinGW-w64带有许多方便的内置软件包,例如opensslsqlitepythond3d等。

What I'm trying to achieve is to get or build from sources a minimal MinGW-w64 toolchain without the extra libs that it comes with. 我要实现的目标是从源代码中获取或构建最小的MinGW-w64工具链,而不附带它的额外库。

What I think it should include is: 我认为应该包括:

  • binutils Binutils
  • clib lib
  • gcc/g++ gcc / g ++
  • posix thread posix线程

Is there any way I can achieve this? 有什么办法可以实现?

After spending some time on it I think that WinBuilds is the best solution so far: it provides a GUI which allows to cherry pick the components you need to install in your toolchain. 花了一些时间后,我认为WinBuilds是迄今为止最好的解决方案:它提供了一个GUI,可让您挑选需要在工具链中安装的组件。

I'm walking away from building from source because tedious and poorly documented. 我正在从源头开始建设,因为乏味且记录不清。

TDM works fine with shipped gcc/g++ but since there is some hacking going on regarding threading, using other compilers like clang or an up-to-date gcc version is off the table. TDM可与出厂的gcc / g ++配合使用,但是由于存在一些有关线程的黑客技术 ,因此无法使用其他编译器(例如clang或最新的gcc版本)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM