Date: Thu, 26 Mar 1998 11:04:22 +0300 (IDT) From: Eli Zaretskii To: Eugene Ageenko cc: djgpp AT delorie DOT com Subject: Re: Strip and Coff2exe. File size increasing! In-Reply-To: <3517AF38.6932BDE@cs.joensuu.fi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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?