delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/12/16:08:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <434D6D11.4020101@familiehaase.de>
Date: Wed, 12 Oct 2005 22:07:45 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT 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 AT byu DOT net>
CC: Jason Pyeron <jpyeron AT pdinc DOT us>, cygwin AT cygwin DOT com
Subject: Re: .exe suffix from gcc and friends
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0510112316590 DOT 8152 AT ns DOT pyerotechnics DOT com> <434C8512 DOT 80907 AT byu DOT net>
In-Reply-To: <434C8512.80907@byu.net>
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/

- Raw text -


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