简体   繁体   中英

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.

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.

What I think it should include is:

  • binutils
  • clib
  • gcc/g++
  • posix thread

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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