After much ado fighting with upstream GCC changes, and just barely squeaking in before the upstream 4.7.2 release, I would like to proudly present:
TDM-GCC 4.7.1!The 4.7 GCC stable release series includes much-improved C++11 support (with new -std=c++11 and -std=gnu++11 options), OpenMP 3.1, a bunch of optimizer improvements, and lots of other new features.The TDM release of GCC 4.7.1 is now available for download. As always, I've tested it on
wxWidgets (2.8.12) and
Code::Blocks SVN (8394) to ensure good compatibility. You can build Code::Blocks with either the TDM32 edition ("out of the box"), or the TDM64 edition (using the MinGW-w64 project's runtime and the "-m32" flag for 32-bit compilation). When building wxWidgets as a MONOLITHIC DLL, you will probably need to use the "-fno-keep-inline-dllexport" flag (mingw32-make ... CXXFLAGS="-fno-keep-inline-dllexport").
A couple of minor tweaks:
- The 64-bit version of GDB is now built with Python support.
- The MinGW-w64 runtime package now includes the gendef and genidl tools and the libmangle library.
TDM-GCC comes in TWO editions:You can choose between the classic MinGW 32-bit edition and the new
TDM64 edition. The TDM64 edition is based on the MinGW-w64 runtime API and the x86_64-w64-mingw32 GCC target, and can create both 32-bit and 64-bit code, with the "-m32"/"-m64" compiler flags. Please be aware, if you build Code::Blocks yourself, that it only works as 32-bit code ("-m32") on Windows, currently -- though that will hopefully change soon. Also, please never mix 32-bit object files (.o), libraries (.a), DLLs, or EXEs with 64-bit versions, and don't report it as a bug if you inadvertently do.
More information and downloads are available at <
http://tdm-gcc.tdragon.net/>. TDM-GCC includes support for C, C++, Fortran, Objective-C/C++, and Ada (MinGW edition only), as well as support for the OpenMP multithreading extensions, packaged in a simple Windows installer.
Disclaimer:As always, please remember:
- TDM-GCC is not formally affiliated with or endorsed by the MinGW project.
- No level of support for TDM-GCC is in any way guaranteed (although a best effort is made to fix bugs as they are found or forward them to GCC Bugzilla).
Cheers,
John E. / TDM