delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/26/03:05:19

Date: Thu, 26 Mar 1998 11:04:22 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Eugene Ageenko <ageson AT cs DOT joensuu DOT fi>
cc: djgpp AT delorie DOT com
Subject: Re: Strip and Coff2exe. File size increasing!
In-Reply-To: <3517AF38.6932BDE@cs.joensuu.fi>
Message-ID: <Pine.SUN.3.91.980326110402.29215L-100000@is>
MIME-Version: 1.0

On Tue, 24 Mar 1998, Eugene Ageenko wrote:

> if one compile the program using gcc w/o any special options it
> produce the either coff (eg. test.) and executable files (test.exe).
> 
> Now if we apply "strip" to test.exe directly or we apply "strip" to
> coff file and convert it to exe using "coff2exe" tool we get
> different results.
> 
> No wonder, but interesting that if we apply "strip" again to
> executable, that was produced from "strip'ed" coff file, we get
> executable that will increased in size.  !?!

Such problems were known bugs in very old versions of DJGPP.  So
please post the necessary details when reporting such problems.  In
this case, the following is required:

     1) The versions of your GCC and Binutils;
     2) Size and time stamps of coff2exe, stubify, ld and strip;
     3) DIR listings of the program after every one of the above
	methods to strip it.

Btw, what happens if you add -s to the link command line?

- Raw text -


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