This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compiling for win32 on Linux
- From: Geoffe Elias <geoffe02 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 28 Aug 2003 23:13:09 -0700 (PDT)
- Subject: Compiling for win32 on Linux
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