delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/14/13:13:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 14 Jan 2000 14:07:28 -0500
To: Andre Oliveira da Costa <costa AT cade DOT com DOT br>
Cc: rbh00 AT netcom DOT com, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: [mingw32] Re: [RFC] changing gcc default output executable na me (a.exe now)
Message-ID: <20000114140728.A1858@cygnus.com>
Mail-Followup-To: Andre Oliveira da Costa <costa AT cade DOT com DOT br>,
rbh00 AT netcom DOT com, cygwin AT sourceware DOT cygnus DOT com
References: <l97t7s4bqkik9fhpkfd3l1nrodrttkljli AT 4ax DOT com> <000801bf5eae$3b772e10$8400000a AT costa DOT cadenet DOT com DOT br>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <000801bf5eae$3b772e10$8400000a@costa.cadenet.com.br>; from costa@cade.com.br on Fri, Jan 14, 2000 at 02:41:40PM -0200

On Fri, Jan 14, 2000 at 02:41:40PM -0200, Andre Oliveira da Costa wrote:
>> If such a patch as this goes forward, am I right that the implicit
>> make(1) rules will be changed at the same time gcc and/or binutils is
>> changed?  I mean that
>> 	make hello
>> would by default produce the file "hello" rather than "hello.exe".
>
>Yep. Going a step further, every rule that is meant to produce an executable
>file, like:
>
>foo: $(OBJS)
>	gcc -o $@ $^
>
>would produce an executable (binary) file named "foo", and not "foo.exe"

We were talking about having gcc understand an environment variable or
command line switch causing it to avoid producing a .exe extension.  It
is not going to be the default.  Nothing is going to change unless you
set this.

Then, of course, the mailing list will be flooded with lots of "newbies"
who have found out about this nifty new environment variable and who
1) have an older version of gcc which doesn't understand it, 2) have makefiles
which add the .exe file explicitly, or 3) are facing in the wrong direction
and are unable to see the computer screen.


cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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