[Developers] GCC 4.4.0 available for Windows

Arni Magnusson arnima at hafro.is
Fri Jul 3 16:36:16 PDT 2009


Hi Dave,

I don't have access to a win64 machine, but the MinGW-w64 project looks 
promising. Complicated and requiring dedication, but it looks like people 
are successfully building win64 applications with GCC. If I'm not 
mistaken, the compilation can be done on a win32, win64, linux32, or 
linux64 machine.

http://sourceforge.net/projects/mingw-w64/files/
http://mingw-w64.wiki.sourceforge.net/Installation+of+binary+toolchain+packages
http://sourceforge.net/docman/display_doc.php?docid=65919&group_id=202880
http://sourceforge.net/mailarchive/forum.php?forum_name=mingw-w64-public
http://drangon.org/mingw/

What a barrel of worms.

As a first test, I just downloaded and unzipped 
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/mingw-w64_x86-64_mingw32_4.4.0-1.zip. 
After setting my PATH to c:/mingw-w64/bin, I ran

   x86_64-w64-mingw32-g++ -o hello -s -static -Wall hello.cpp

and voilà, I have hello.exe that my 32-bit Windows machine can't run. 
Presumably it's a healthy 64-bit Windows executable, so it may be as easy 
as that.

Arni



On Fri, 3 Jul 2009, dave fournier wrote:

> Hi Arni,
>
> Have you figured out where they are with a mingw for win64.
>
>    Cheers,
>
>    Dave
>


More information about the Developers mailing list