This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: .exe suffix from gcc and friends


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/


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