Mail Archives: djgpp/2006/12/12/01:32:59
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 -