This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC/Linux to produce exe files for Windows


Enrico Migliore wrote:

>  I would like to compile a C program on GCC/Linux, and would like
>  GCC to produce an executable file for Windows (no Cygwin). Is that
> possible?

Sure, you will just need to build a mingw cross compiler.  You will need
to install headers and import libraries from mingw.org and then build
binutils and gcc as a cross compiler.  Some distros (e.g. Debian) have
binary packages pre-built.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]