delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/20/12:43:38

Date: Tue, 20 Oct 1998 18:43:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: -KWII- Not a problem, but confusing, please help?
In-Reply-To: <199810201556.LAA08607@indy.delorie.com>
Message-ID: <Pine.SUN.3.91.981020184023.19758B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 20 Oct 1998, DJ Delorie wrote:

> if you do "gcc -o foo" it makes both foo, the unstubbed COFF file, and
> foo.exe, the stubbed COFF file.  If you do "gcc -o foo.exe" it just
> makes the one stubbed COFF file.

This is, as they say, the plot thickens.  The above is correct for all 
versions of GCC before 2.8.  GCC 2.8 and 2.8.1 produce a stubbed .exe 
file even if you say "-o foo".  2.8.x still produces two copies of the 
file: foo and foo.exe, but both have the stub prepended.  "-o foo.exe" 
produces only foo.exe, like before.

- Raw text -


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