Hey guys, I've been doing some searching on the interenet and can't seem to find a nice free 64bit compiler for C/C++. Does anyone here know where I can find one?
Million thanks..
Hey guys, I've been doing some searching on the interenet and can't seem to find a nice free 64bit compiler for C/C++. Does anyone here know where I can find one?
Million thanks..
Do you have a 64bit processor and a 64bit OS?
Not much point in having a compiler unless you also have those.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
How about cross-compiling?
gcc and g++ have 64bit support with the -m64 flag, I think. Read the man pages. I can't remember if there's a gcc for Windows but if there is, it'll work as well.
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.
Thanks for the replies.
I have an AMD64 and as for the 64bit Operating system, i'm in the process of making one.
Gcc is possible to run on win32 via cygwin or mingw. However I wasn't aware of the -m64 flag. I shall try this.
Thank you once again.
From the gcc info page:
This also works for the soon-to-be-released Intel 64bit (not the Itanium, the new one) architecture as they use the same instruction set although they don't say that anywhere, and had to be guesses from the dcumentation.Code:`-m32' `-m64' Generate code for a 32-bit or 64-bit environment. The 32-bit environment sets int, long and pointer to 32 bits and generates code that runs on any i386 system. The 64-bit environment sets int to 32 bits and long and pointer to 64 bits and generates code for AMD's x86-64 architecture.
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.