X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: "Tim Van Holder" To: "'Eli Zaretskii'" Cc: Subject: Re: v2.03 refresh ready for review/testing Date: Mon, 10 Dec 2001 15:32:12 +0100 Message-ID: <000201c18187$74ce9bf0$443276d5@pandora.be> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Importance: Normal Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > I thought that gcc (well, ld) used coff-go32-exe by default so that > > the 'foo' created by 'gcc $(OBJECTS) -o foo' is an EXE file (just > > without the extension) and not a raw COFF file... > > Obviously, that doesn't happen. IIRC, we don't invoke > go32-v2 except for > raw COFF. > > I don't know enough about the GCC build process, but it's > quite possible > that "gcc -o foo" uses the linker script, and at least djgpp.djl says: > > OUTPUT_FORMAT("coff-go32") > > which defeats ld's default. Yes, but if that's true, stubify would still be needed, and I thought that was not needed with recent versions of binutils/gcc. All of ld's builtin scripts (execept .xr and .xu, but those are for relocateable objects IIRC) use OUTPUT_FORMAT("coff-go32-exe"). So maybe djgpp.djl should also default to .exe?