This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does gcc support compiling for windows x86-64?
- From: NightStrike <nightstrike at gmail dot com>
- To: "Ali, Muhammad" <alim at uhnresearch dot ca>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 22 Nov 2007 21:20:32 -0500
- Subject: Re: Does gcc support compiling for windows x86-64?
- References: <e1a332c90711221155v1b09aa96l6e994bb418405974@mail.gmail.com>
On Nov 22, 2007 2:55 PM, Ali, Muhammad <alim@uhnresearch.ca> wrote:
> I can't seem to find a concrete answer anywhere to this: does the
> current version of gcc support building executables for the 64 bit
> version of Windows?
>
> I am using gcc through MinGW and using the -m64 option results in a
> "sorry, unimplemented: 64-bit mode not compiled in" message.
>
> Thanks,
> Ali.
gcc and binutils can build a compiler toolchain that can target
x86_64-pc-mingw32, but it requires a 64-bit runtime. Go here:
http://sourceforge.net/projects/mingw-w64/