www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/19/23:52:58

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: File Deleted???
19 Jul 1998 23:52:58 -0700 :
Message-ID: <6yEOzeq4pfB.cygnus.gnu-win32@mike.franken.de>
References: <b4108bdd DOT 35b20d1b AT aol DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019