.exe suffix from gcc and friends

Gerrit P. Haase gerrit@familiehaase.de
Wed Oct 12 20:07:00 GMT 2005


Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Jason Pyeron on 10/11/2005 9:19 PM:
> 
>>Is there a way to disable the .exe suffix when producing output from
>>gcc, ld, etc?
> 
> 
> You can try the brute force method: 'mv foo.exe bar.' (only works on
> non-managed mounts).  But I don't know of any way to make gcc itself not
> append the suffix.

Should work to add the dot to the compile command like this:

gcc -o program.  main-object.o


Gerrit

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list