From: khan@xraylith.wisc.edu (Mumit Khan)
Subject: Re: gcc produces foo.exe, not foo
1 Oct 1998 08:01:35 -0700
Message-ID: <Pine.HPP.3.96.980930113506.5184A-100000.cygnus.gnu-win32@venus.xraylith.wisc.edu>
References: <19980930044434.52925@mundook.cs.mu.OZ.AU>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Fergus Henderson <fjh@cs.mu.OZ.AU>
Cc: earnie_boyd@yahoo.com, gw32 <gnu-win32@cygnus.com>

On Wed, 30 Sep 1998, Fergus Henderson wrote:

> On 28-Sep-1998, Earnie Boyd <earnie_boyd@yahoo.com> wrote:
> > 
> > Is their a reverse of the linker option --force-exe-suffix?
> > 
> > I've tried --noforce-exe-suffix and that doesn't work.
> 
> Did you try `--no-force-exe-suffix'?
>                  ^

Hmmm ... it's the language driver, *not* ld, that forces the .exe suffix on 
cygwin32. The verbose option to the language driver is a good way to check these 
things. Or, by running ld directly you can see what happens.

If your version of "ld" is forcing .exe suffix, you're perhaps somehow specifying 
the --force-exe-suffix option somewhere. 

For the language driver, the executable suffix is controlled by EXECUTABLE_SUFFIX 
macro in the target config file(s). See gcc.c (convert_filename) for more info on 
how the output name is munged. I'll be in favor of removing this forced suffix 
addition for cygwin32, or at least provide an option to disable it in the driver 
(but not for mingw32).

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
