Greetings!
TDM-GCC 4.5.1 is now available!The latest release of TDM-GCC incorporates GCC 4.5.1 in 32-bit and 32/64-bit editions, and includes LTO support.The TDM release of GCC 4.5.1 is now available for download. As always, I've tested it on
wxWidgets (2.8.11) and
Code::Blocks SVN (6564) to ensure good compatibility.
- With the 4.5.1 release, GCC now includes support for LTO on MinGW and MinGW-w64 targets, so it's enabled in TDM-GCC.
- As with the 4.5.0 release, I've maintained the *reversal* of the GCC change that caused an out-of-memory problem building wxWidgets due to the forced emission of class inline functions in DLL code. This means you shouldn't have to perform any unusual steps when building wxWidgets.
WARNING!In the TDM64 edition, a widespread change has been introduced that affects compatibility with previous versions. In summary, for the x86_64-w64-mingw32 target, symbol names
WILL NOT, by default, have an additional underscore affixed, as was previously the case for this target (and remains the case for 32-bit targets). This was done for better compatibility with Microsoft's compiler.
This means that you must recompile all code that was compiled with an older 64-bit edition of GCC!If you fail to recompile any part of a self-contained module, or inadvertently mix code compiled by an older edition with code compiled by a newer edition, you
will encounter undefined symbol errors. Consider yourself warned.
(If you truly must, you can revert to the previous underscoring rule with the "-fleading-underscore" command-line option -- but don't do this unless you really know what you're doing.)TDM-GCC is available in TWO editions:Along with the classic MinGW 32-bit edition, a new
TDM64 edition is also available. This 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