Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <434D6D11.4020101@familiehaase.de>
Date: Wed, 12 Oct 2005 22:07:45 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915
MIME-Version: 1.0
To: Eric Blake <ebb9@byu.net>
CC: Jason Pyeron <jpyeron@pdinc.us>, cygwin@cygwin.com
Subject: Re: .exe suffix from gcc and friends
References: <Pine.LNX.4.62.0510112316590.8152@ns.pyerotechnics.com> <434C8512.80907@byu.net>
In-Reply-To: <434C8512.80907@byu.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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/

