Notes on MinGW64 gcc 4.5.2 install (6-28-11) -------------------------------------------- Package is mingw-w64-bin_x86_64-mingw_4.5.2_20110222_multilib_megasoft78.7z from http://sourceforge.net/projects/mingw-w64/. 1. Decompressed package 2. Re-named root folder "mingw". 3. Removed these folders: a. mingw\mingw b. mingw\lib64 c. mingw\include d. mingw\x86_64-w64-mingw32\lib 4. Added RSXNT's make.exe, which I prefer (and supporting rsxnt.dll) to d:\mingw\bin. 5. Put d:\mingw\bin in path. 6. set c_include_path=d:\mingw\x86_64-w64-mingw32\include 7. set cplus_include_path=d:\mingw\x86_64-w64-mingw32\include 8. set library_path=d:\mingw\x86_64-w64-mingw32\lib[64|32] (Does ld really use this env var?) 9. Use -m64 cflag for 64-bit, -m32 for 32-bit.