Minimal MinGW-w64没有额外的库

时间:2022-01-17 02:29:02

Prebuild MinGW-w64 comes with lots of handy built-in packages such as openssl, sqlite, python, d3d and others.

Prebuild MinGW-w64带有许多方便的内置软件包,如openssl,sqlite,python,d3d等。

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
  • clib
  • gcc/g++
  • posix thread

Is there any way I can achieve this?

有什么办法可以实现吗?

1 个解决方案

#1


0  

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版本已经不在考虑之列。

#1


0  

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版本已经不在考虑之列。