I tried the MingGW compiler that runs on Windows. It worked, but it only gave me a 32 bit build. When I tried the -m64 option the compiler told me "...sorry, that option was not included ...".
I picked it up here: http://www.mingw.org/
I would like a compiler that runs on Windows 7 and can produce a 64 bit executable. I am ok with a compiler that runs on Linux and works as a cross compiler for Windows that can produce 32 bit and 64 bit binaries.
Anybody have answers to this?
64 bit windows compile
Moderators: hgm, Rebel, chrisw
-
- Posts: 2056
- Joined: Mon Mar 13, 2006 2:31 am
- Location: North Carolina, USA
-
- Posts: 1600
- Joined: Mon Feb 21, 2011 9:48 am
Re: 64 bit windows compile
I use the version of orwell, downloaded portable editions , creates its own environment.
http://orwelldevcpp.blogspot.com.es/
in different directories for different compilers,
Even I own mine, for example with the version of rubenb
https://github.com/rubenvb
Greetings, Jose.
http://orwelldevcpp.blogspot.com.es/
in different directories for different compilers,
Even I own mine, for example with the version of rubenb
https://github.com/rubenvb
Greetings, Jose.
-
- Posts: 411
- Joined: Thu Dec 30, 2010 4:48 am
Re: 64 bit windows compile
the main mingw project was resistant towards providing 64 bit support for some reason so a couple forks sprung up to cover the need. i believe the following is the current mainstream one.
http://mingw-w64.sourceforge.net/
http://mingw-w64.sourceforge.net/
-
- Posts: 284
- Joined: Tue Aug 13, 2013 9:44 am
Re: 64 bit windows compile
I personally use mingw-builds-install.exe that lets you choose different version that I install separately in different folders. Then I took care to isolate the %PATH% for software do not overlap with older versions installed.
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: 64 bit windows compile
I use the cross compiler and it is really good. Not easy to make a faster compile with anything else.CRoberson wrote:I tried the MingGW compiler that runs on Windows. It worked, but it only gave me a 32 bit build. When I tried the -m64 option the compiler told me "...sorry, that option was not included ...".
I picked it up here: http://www.mingw.org/
I would like a compiler that runs on Windows 7 and can produce a 64 bit executable. I am ok with a compiler that runs on Linux and works as a cross compiler for Windows that can produce 32 bit and 64 bit binaries.
Anybody have answers to this?
http://mingw-w64.sourceforge.net/downlo ... ted-builds
There you have a link explaining the name convention
http://sourceforge.net/apps/trac/mingw- ... 0structure
and the direct for your case should be
http://sourceforge.net/projects/mingw-w ... 2/download
Miguel
-
- Posts: 1600
- Joined: Mon Feb 21, 2011 9:48 am
Re: 64 bit windows compile
The problem of path I fix it the hard way,
I have a few virtual machines, each for each solution,
some wasted hard disk space, but it works fine ...
Minyt Linux and fedora included.
I have a few virtual machines, each for each solution,
some wasted hard disk space, but it works fine ...
Minyt Linux and fedora included.
-
- Posts: 2056
- Joined: Mon Mar 13, 2006 2:31 am
- Location: North Carolina, USA
Re: 64 bit windows compile
Thanks guys. Thanks to your links I found more and am trying this one: http://sourceforge.net/projects/tdm-gcc/?source=dlp
It seems to be good and has OpenMP support.
Charles
It seems to be good and has OpenMP support.
Charles