This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: File Deleted???


You've asked gcc to create a file (the -o switch means output to)
c:/c++/file.cpp.  The -mwindows is a linker switch defined in the
specs file.  It should have complained about no input.  gcc will
normally delete an output file when an error happens on input.

---JSONCRAIG@aol.com wrote:
>
> 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?
> 
> Thanks
> Jason
> -
> For help on using this list (especially unsubscribing), send a
message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 

==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd@yahoo.com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]