How to build MinGW W64

后端 未结 2 901
盖世英雄少女心
盖世英雄少女心 2020-12-28 16:26

I\'m new to Stack Overflow, C++ and to MinGW W64. My problem is, is that I don\'t know how to build MinGW W64, all I know how to do is double click an exe and install the fi

相关标签:
2条回答
  • 2020-12-28 17:18

    Today I was also looking for building a native tool-chain, but then ended up using personal build provided there.

    For building you can follow this guide - https://sourceforge.net/p/mingw-w64/code/HEAD/tree/trunk/mingw-w64-doc/howto-build/mingw-w64-howto-build.txt

    0 讨论(0)
  • TDM-GCC 4.6.1 (GCC / MinGW / MinGW-w64 compiler suite for 32- and 64-bit Windows) was built on Windows 7 64-bit using MinGW & MSYS. The source distribution provide GCC, all support libraries and .sh script files that invoke the Makefile with appropriate arguments.

    BUILD NOTES (TDM Sources/README-gcc-tdm-src.txt) :

    Building the TDM edition typically looks like this: 
      * [Extract all sources to /crossdev/src] 
      * [Copy or build a previous MinGW installation to a "build root"] 
      * [Ensure the prefix ("/mingw") is empty] 
      * [Ensure the buildroot's "bin" directory is in PATH] 
      * ./build-tdm-[dw2/sjlj].sh support-libs prefix 
      * [Copy everything from the prefix to the "build root"] 
      * [Extract the binutils, mingwrt, and w32api bin/dev packages to the prefix] 
      * ./build-tdm-[dw2/sjlj].sh gcc
    
    0 讨论(0)
提交回复
热议问题