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: "Ali, Muhammad" <alim at uhnresearch dot ca>
- To: "Tim Prince" <tprince at computer dot org>, gcc <gcc at gcc dot gnu dot org>
- Cc: "Kai Tietz" <Kai dot Tietz at onevision dot com>
- Date: Fri, 23 Nov 2007 13:55:15 -0500
- Subject: Re: Does gcc support compiling for windows x86-64?
- References: <OFCEDD5500.CE684039-ONC125739C.002D50C1-C125739C.002D7F30@onevision.de> <4746EB4A.8090204@computer.org>
> >> Why not read the archives of more relevant lists before posting here? I
> >> don't know what you are driving at, nor do I think anyone here cares,
I guess my initial posting was somewhat misleading. I only mentioned
MinGW because MinGW (and Cygwin) are the only ports of gcc I know of
that work on windows. But I realize that these have an older version
of gcc built into them. The reason I posted to this mailing list was
to find out if the current version supported x86-64 platforms, and if
so, then I would be interested in building the latest version.
And I did spend two days searching (and trying out possible) solutions
before posting to this list.
> >> but the preliminary gcc/gfortran for mingw 64-bit mode which FX Coudert
> >> supplied was a version of gcc-4.3.
Are you talking about the gcc supplied with the mingw-w64 project that
Tim mentioned?
> > May you can take a look at the developer project 'mingw-w64' on
> > sourceforge for more details.
Thanks for pointing me to the mingw-w64 sourceforge project. As Tim
said, there isn't much documentation available for it, so I guess I'll
just download and try it out. Although, at this point, I'm just
thinking that downloading a trial version of Visual C++ and using it
to compile my dll would be much easier :(. But even with that option,
I'm not sure if its legal to distribute that dll with our package.
> Ali didn't say if he meant g++ rather than gcc, but I guess all of this
> has missed his intended topic.
gcc. I'm working with a java application which is using JNI to call
native libraries. We want to port our software to 64-bit platforms,
and hence here I am, trying to figure out how to compile 64-bit dlls
on my amd64.
Thanks for all the comments,
Ali.