Mail Archives: djgpp/1998/08/16/05:18:39
On Sat, 15 Aug 1998, Sprogface wrote:
> CMDLINE=gxx -o c:\mything.cpp
You are invoking the compiler in a way that it overwrites the source with
the program it produces. It's a small wonder that you get all kinds of
weird messages.
The correct way to do this is like this:
gxx -o c:\mything.exe c:\mything.cpp
In other words, the -o switch needs a file name after it which says where
to put the compiled program.
Please read the file v2/readme.1st that's available from the same placve
you got DJGPP. It explains how to invoke the compiler correctly.
- Raw text -