64-bit gcc

Brian Dessent brian@dessent.net
Fri Aug 22 11:01:00 GMT 2008


Seyran Avanesyan wrote:

> Which version of gcc should I use to compile 64-bit targets.
> I used gcc 3.4.5. With -m64 switch I'm getting this message:
> 
> source_file.c:1: sorry, unimplemented: 64-bit mode not compiled in

This is an incomplete question.  You need to specify what target you're
talking about.  I'm assuming you're referring to the MinGW target.  If
that is true, then the MinGW project currently only supports 32 bit
Windows.  There is a separate fork of the MinGW project supporting
Windows x64: <http://sourceforge.net/projects/mingw-w64>.  This is quite
alpha, as support for Windows x64 in gcc is relatively new and still
under active development.

Brian



More information about the Gcc-help mailing list