delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/01/08:01:35

From: khan AT xraylith DOT wisc DOT 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 DOT 52925 AT mundook DOT cs DOT mu DOT OZ DOT AU>
Mime-Version: 1.0
To: Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT AU>
Cc: earnie_boyd AT yahoo DOT com, gw32 <gnu-win32 AT cygnus DOT com>

On Wed, 30 Sep 1998, Fergus Henderson wrote:

> On 28-Sep-1998, Earnie Boyd <earnie_boyd AT yahoo DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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