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: References: <19980930044434 DOT 52925 AT mundook DOT cs DOT mu DOT OZ DOT AU> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Fergus Henderson Cc: earnie_boyd AT yahoo DOT com, gw32 On Wed, 30 Sep 1998, Fergus Henderson wrote: > On 28-Sep-1998, Earnie Boyd 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".