Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 14 Jan 2000 14:07:28 -0500 To: Andre Oliveira da Costa 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 , rbh00 AT netcom DOT com, cygwin AT sourceware DOT cygnus DOT com References: <000801bf5eae$3b772e10$8400000a AT costa DOT cadenet DOT com DOT br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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