Mike CherbaWed Oct 12 20:38:40 PDT 2005
There are a couple of options: You could compile using the cygwin tools under Windows. but I assume you mean that you have Only a linux box and you want to build a windows app on it to send to a friend. You might look into mingw ( http://www.mingw.org/ ) or there are also some howtos for building the cygwin tools as a cross compiler to run under Linux and produce windows executables. Another route might be to obtain a free windows c compiler and run it under Linux using either dosemu or wine or some other Windows compatability layer. -Mike On Wed, 2005-10-12 at 20:31, Martin Kelly wrote: > Does anyone know a way of compiling a Windows .exe using GCC? I know > it's possible but I'm not sure how exactly, and it would be useful for > distributing programs to friends who are not using Linux. > > Thanks :) > -Martin > _______________________________________________ > EUGLUG mailing list > euglug at euglug.org > http://www.euglug.org/mailman/listinfo/euglug -- "The danger from computers is not that they will eventually get as smart as men, but that we will meanwhile agree to meet them halfway." -Bernard Avashi