🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1351

[Gordon Joly: Strip deletes a.out's if linked.]

#1351
From: Gordon Joly
Date: Wed, 27 Jan 1993 03:08
60 lines
2424 bytes
It is a feature!!!!


porridge:COMMON/BUILD/gzip-0.8.1[15] gstrip -v
Usage gstrip [-S][-s srcfmt] [-d dtfmt] [-b bothfmts] infile [outfile]
porridge:COMMON/BUILD/gzip-0.8.1[16] 


Gordon.

------- Forwarded Message

Return-Path: <g.joly@uk.ac.ucl.cs>
Received: from porridge.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP 
          id <g.13226-0@bells.cs.ucl.ac.uk>; Tue, 26 Jan 1993 15:13:09 +0000
To: bug-gnu-utils@edu.mit.ai.prep
cc: G.Joly@uk.ac.ucl.cs
Subject: Strip deletes a.out's if linked.
Date: Tue, 26 Jan 93 15:13:06 +0000
From: Gordon Joly <G.Joly@uk.ac.ucl.cs>



On SUN4, SunOS 4.1.1, gcc 2.3.3 compiled, strip version 1.94 (?)

porridge:gjoly/c[21] cc -o simple simple.c
porridge:gjoly/c[22] ln simple notso
porridge:gjoly/c[23] file simple notso
simple:		sparc demand paged dynamically linked executable not stripped
notso:		sparc demand paged dynamically linked executable not stripped
porridge:gjoly/c[24] ls -l simple notso
- -rwxrwxr-x  2 gjoly       24576 Jan 26 09:21 notso
- -rwxrwxr-x  2 gjoly       24576 Jan 26 09:21 simple
porridge:gjoly/c[25] strip simple notso
strip: simple: Error 0
porridge:gjoly/c[26] ls -l simple notso
- -rwxrwxr-x  2 gjoly           0 Jan 26 09:21 notso
- -rwxrwxr-x  2 gjoly           0 Jan 26 09:21 simple
porridge:gjoly/c[27] file  simple notso
simple:		empty
notso:		empty
porridge:gjoly/c[28] 



I discovered this when I tried to strip:

porridge:gjoly/Local/bin[126] ll gcc*
- -rwxr-xr-x  2 gjoly      114688 Jan  7 16:37 gcc
- -rwxr-xr-x  2 gjoly      114688 Jan  7 16:37 gcc-sparc-sun-sunos4.1.1
porridge:gjoly/Local/bin[127] 

Gordon,
____

Gordon Joly      Phone  +44 71 387 7050 ext 3703      FAX  +44 71 387 1397
Internet: G.Joly@cs.ucl.ac.uk        UUCP: ...!{uunet,uknet}!ucl-cs!G.Joly
Computer Science, University College London, Gower Street, LONDON WC1E 6BT

------- End of Forwarded Message
Technical Details
Message-ID: <9301261525.AA29137@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!ames!sun-barr!cs.utexas.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cs.ucl.ac.uk!G.Joly

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!ames!sun-barr!cs.utexas.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cs.ucl.ac.uk!G.Joly
From: G.Joly@cs.ucl.ac.uk (Gordon Joly)
Newsgroups: gnu.utils.bug
Subject: [Gordon Joly: Strip deletes a.out's if linked.]
Date: 26 Jan 1993 22:08:06 -0500
Organization: GNUs Not Usenet
Lines: 62
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-utils@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9301261525.AA29137@life.ai.mit.edu>