views:

146

answers:

3

Hello all :)

I'm writing a compiler which uses C as an intermediate code which is (Currently) passed out to MinGW for compilation into an EXE file.

I'm looking for an x64 compiler that I can include in my releases, so that users of my application can get around Win64's "Windows on Windows" system to access native resources. MinGW allows me to distribute the compiler, but it doesn't seem to support generation of 64 bit binaries.

Thanks in advance :)

Billy3

+3  A: 

VisualStudio Express

Dmitriy
I don't think the EULA for Visual Studio (even Express) allows you to redistribute the compiler.
Daniel Pryden
Yeah.. users will have to download it. Luckily I'm not charging for this app :P
Billy ONeal
+6  A: 

Looks like this might be what you're after:

The mingw-w64 project is a complete runtime environment for gcc to support binaries native to Windows 64-bit and 32-bit operating systems.

caf
Had some difficulty with it.. seems to be based on an old copy of GCC. I'll keep it in mind. +1
Billy ONeal
+2  A: 

You can use the Tiny C Compiler, which is available under the LGPL, and which supports x86-64. It's also approaching "full ISOC99 compliance."

Mark Rushakoff
It supports running on x86-64. but not generation of x86-64 binaries. Nice project though ... might use this instead of MinGW for the 32 bit version. MinGW is huge.
Billy ONeal
I had never tried running or creating x86-64 binaries with it, I was just repeating their (very sparse) documentation -- that's kind of a bummer :/
Mark Rushakoff
Looking at it some more, it supports x86-64 only on UNIX architectures. Thanks anyway though :) I've changed to this for the i386 architecture... it's a lot nicer to be able to embed the compiler instead of relying on the HUGE! MinGW.Thank you :)
Billy ONeal