X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.232.190 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: '-s' option different to 'strip.exe' command?! Organization: Systematic Software Message-ID: References: <200611250505 DOT kAP550qw021267 AT delorie DOT com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 33 Date: Tue, 12 Dec 2006 06:16:33 GMT NNTP-Posting-Host: 64.59.135.176 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7urf1no 1165904193 64.59.135.176 (Mon, 11 Dec 2006 23:16:33 MST) NNTP-Posting-Date: Mon, 11 Dec 2006 23:16:33 MST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 7 Dec 2006 11:18:03 -0700 in comp.os.msdos.djgpp, Gordon DOT Schumacher AT seagate DOT com wrote: >Martin Str|mberg wrote at 24 Nov 2006 08:01:31 >GMT: > ># Robert Riebisch wrote: ># > Sorry, meanwhile I forgot how I made the original file. ;-) ># ># > New values: ># > original: 301,028 bytes ># > 'strip' only: 214,016 bytes ># > '-s' only: 215,552 bytes ># > '-s' + 'strip': 213,502 bytes ># ># Interesting. I thought that 'strip' only and '-s' + 'strip' would give ># the same result. I have no idea why not. > >If it helps any, I have one more interesting detail that I can throw >into this mixture: a largish (>2MB) executable built without '-s' that >has then had 'strip' run on it will often not compress with UPX, but >the very same build settings with '-s' added will compress just fine. Some versions of strip used to mangle section attributes in various ways. UPX strips executables so additional pre-stripping with -s or strip may be redundant or harmful. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply