*TDM-GCC 4.6.1 is now available!*
TDM-GCC is a native binary distribution of the GCC compiler for Windows.
It targets 64-bit Windows (x86_64-w64-mingw32), or 32-bit Windows
(i686-w64-mingw32, i686-pc-mingw32), and is fully compatible with MinGW
and MinGW-w64. More information and an easy-to-use Windows installer and
updater are available at <http://tdm-gcc.tdragon.net/>.
* TDM-GCC includes a patch toward better toolchain relocatability --
that is, it no longer searches X:\mingw (X being your installation drive
letter) by default, but bases every search path on the location of the
* With the GCC 4.6 series, the "-fno-keep-inline-dllexport" flag was
introduced to fix memory usage problems when linking DLLs with a large
number of inline functions (such as wxWidgets). Previous TDM-GCC
releases were patched to avert this issue, but that patch is no longer
used. Be sure to use "-fno-keep-inline-dllexport" where appropriate.
*TDM-GCC is available 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 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.
Alongside the GCC 4.6.1 packages are binary packages of the MinGW-w64
runtime (based on SVN r4483), binutils (2.21.53 SVN 2011-07-31), and gdb
(7.3.1). TDM-GCC includes support for C, C++, Fortran, Objective-C/C++,
and Ada (MinGW edition only), as well as support for LTO and the OpenMP
John E. / TDM