Date: Wed, 28 Jun 2000 08:24:28 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "Mark E." cc: djgpp-workers AT delorie DOT com Subject: Re: is it possible to use strip option in call to compiler (fwd) In-Reply-To: <39595137.6430.5D4FCB@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Wed, 28 Jun 2000, Mark E. wrote: > > Strangely enough, ld leaves the garbage after the stub, but strip does > > Stranger still, I found that if you let ld add in the stub and bypass > stubify, the extra 2K never appears. Did you invoke ld with or without --strip? I think I only saw the problem with "gcc -s". If I don't use -s, but instead strip the COFF image and then stubify, the garbage never appears.