How to build MinGW W64
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 files onto my computer itself.
So what I am asking is that, how do you build MinGW W64? ( http://mingw-w64.sourceforge.net/ )
If I learn how to build MinGW W64, I think I will be able to build other things without any help. I don't know what files to get to install MinGW W64. All I know is that I need gcc (for C) and g++ (for C++) from (http://gcc.gnu.org/) .
Yes, I know, I could just install MinGW from http://www.mingw.org/ but their gcc versions are out of date and it would be a nice skill to learn if I learnt how to build these kind of things. (Might even help in the future)
If it helps, my operating system is Windows 7.
Thanks guys. (If possible, can you make a step by step guide on how to build it and tell me what files to get. And if you feel like you want to help a noob out like me, it'd be nice to give the links to the files.)
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
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 - http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/trunk/mingw-w64-doc/howto-build/mingw-w64-howto-build.txt?revision=4234
链接地址: http://www.djcxy.com/p/53390.html上一篇: 明古仍然活跃?
下一篇: 如何建立MinGW W64