Date: Tue, 20 Oct 1998 18:43:38 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: DJ Delorie 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.