GCC-4.4.0-MinGW Binary

admin April 25th, 2009

GCC-4.4.0 has been released recently. I have managed to compile it as a MinGW build and I want to share that with others. The package can be downloaded from the following links. Please download both the files and extract them to C:\MinGW folder. Then extract Win32API, MinGW Runtime, pthreads-win (If you want to use OpenMP) package to the same folder. Now you’ll be able to use gcc-4.4 on Windows.

Download Links:

http://files.filefront.com/binutils+2191+bintarbz2/;13651013;/fileinfo.html

http://files.filefront.com/MinGW+gcc+440+bkm+1tarbz2/;13650648;/fileinfo.html

Package Details:

  1. Cross-compiled binary from vanilla GCC source.
  2. Only one patch was applied to fix GCC build errors. No other patch has been applied to GCC source.
  3. Binutils has also been cross-compiled from vanilla BinUtils (Release 2.19.1) package
  4. I’ve put my Blog url and my initial in the compiled binary to differentiate it from other builds.
  5. gcc, g++ and gfortran binary are available. Other language compilers are not included. They are mixed together as I don’t know how to create individual packages.


Important Notes:

  1. This is completely Unsupported binary as I’ve little spare time to support it. So use it at your own risk.
  2. I did few tests by compiling some of my projects. However do note that no bootstrapping and make check was done
  3. Notably Code::Blocks source builds with this gcc binary without any issues (but with some warning messages).


Patch:
Attached patch was applied to complete the build. But it’s side-effects are not explored (hope there isn’t any). Following patch is required if you are cross-compiling for MinGW from Linux.

gcc.patch

GCC Source: ftp://ftp.gnu.org/gnu/gcc/gcc-4.4.0/gcc-4.4.0.tar.bz2

Binutils Source: ftp://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2

Or alternatively you can download above sources from any GNU mirrors.

Happy Coding!

Trackback URI | Comments RSS

Leave a Reply