Mail Archives: cygwin/1998/07/19/23:52:58
Hi Jsoncraig,
>In Bash I did gcc -o c:/c++/file.cpp -mwindows, because I was told to do it
>that way. It started compiling, there was some sort of syntax error in my
>code and the file.cpp got deleted?!?! Anyone know what happened, did I do
>something wrong? Is it a bug?
Don't know, what happend here, because gcc should complain about "no
input files", if you really used exactly the above mentioned command.
-o normally specifies the *output* file, but nevertheless in your case
the file.cpp should still exist.
Besides that, -mwindows ist not a switch for the compiler, but for the
linker - unfortunately.
>
>Thanks
>Jason
Bye.
Michael.
--
Michael Hirmke | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX +49 (911) 557664
90489 Nuernberg | E-Mail mailto:mh AT mike DOT franken DOT de
| WWW http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -