* Compiling for win32 on Linux
@ 2003-08-29 6:13 Geoffe Elias
2003-08-29 12:04 ` Eljay Love-Jensen
0 siblings, 1 reply; 2+ messages in thread
From: Geoffe Elias @ 2003-08-29 6:13 UTC (permalink / raw)
To: gcc-help
Question:
when I use the line: "g++ sourcefile.cpp -Wall -o
objectfile.exe" I am able to successfully compile and
run that program on my linux machine. However, I am
required to submit my programming projects to my
teacher who will test it in a Windows environment.
When I move that executable program onto a borrowed
Windows computer, it says "Not a valid Win32
application."
How may I compile my programs to run in Windows?
Background:
I am in a software engineering course at my college
and I would like to use gcc to compile my programming
projects. Naturally, the software created will not be
very complex.
Thank you,
Geoffe Elias
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compiling for win32 on Linux
2003-08-29 6:13 Compiling for win32 on Linux Geoffe Elias
@ 2003-08-29 12:04 ` Eljay Love-Jensen
0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2003-08-29 12:04 UTC (permalink / raw)
To: Geoffe Elias, gcc-help
Hi Geoffe,
You need a GCC cross compiler.
In the words of Mumit:
See <http://www.xraylith.wisc.edu/%7Ekhan/software/gnu-win32/>http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ for Unix->x86-win32 cross-compilation howtos.
HTH,
--Eljay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-29 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 6:13 Compiling for win32 on Linux Geoffe Elias
2003-08-29 12:04 ` Eljay Love-Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).