delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/12/12/01:32:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Trace-PostClient-IP: 68.147.232.190
From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: '-s' option different to 'strip.exe' command?!
Organization: Systematic Software
Message-ID: <b5isn2593k3m1q8fesick0j6thutegjn15@4ax.com>
References: <200611250505 DOT kAP550qw021267 AT delorie DOT com> <OF8DB2830A DOT CB1AC71C-ON8725723D DOT 00644290-8725723D DOT 006487B6 AT seagate DOT com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
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 <ams AT speedy DOT ludd DOT ltu DOT se> wrote at 24 Nov 2006 08:01:31
>GMT:
>
># Robert Riebisch <Robert DOT Riebisch AT arcor DOT de> 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

- Raw text -


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