home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / utils / bug / 2488 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.3 KB

  1. Path: 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
  2. From: G.Joly@cs.ucl.ac.uk (Gordon Joly)
  3. Newsgroups: gnu.utils.bug
  4. Subject: [Gordon Joly: Strip deletes a.out's if linked.]
  5. Date: 26 Jan 1993 22:08:06 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 62
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gnu-utils@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301261525.AA29137@life.ai.mit.edu>
  12.  
  13. It is a feature!!!!
  14.  
  15.  
  16. porridge:COMMON/BUILD/gzip-0.8.1[15] gstrip -v
  17. Usage gstrip [-S][-s srcfmt] [-d dtfmt] [-b bothfmts] infile [outfile]
  18. porridge:COMMON/BUILD/gzip-0.8.1[16] 
  19.  
  20.  
  21. Gordon.
  22.  
  23. ------- Forwarded Message
  24.  
  25. Return-Path: <g.joly@uk.ac.ucl.cs>
  26. Received: from porridge.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP 
  27.           id <g.13226-0@bells.cs.ucl.ac.uk>; Tue, 26 Jan 1993 15:13:09 +0000
  28. To: bug-gnu-utils@edu.mit.ai.prep
  29. cc: G.Joly@uk.ac.ucl.cs
  30. Subject: Strip deletes a.out's if linked.
  31. Date: Tue, 26 Jan 93 15:13:06 +0000
  32. From: Gordon Joly <G.Joly@uk.ac.ucl.cs>
  33.  
  34.  
  35.  
  36. On SUN4, SunOS 4.1.1, gcc 2.3.3 compiled, strip version 1.94 (?)
  37.  
  38. porridge:gjoly/c[21] cc -o simple simple.c
  39. porridge:gjoly/c[22] ln simple notso
  40. porridge:gjoly/c[23] file simple notso
  41. simple:        sparc demand paged dynamically linked executable not stripped
  42. notso:        sparc demand paged dynamically linked executable not stripped
  43. porridge:gjoly/c[24] ls -l simple notso
  44. - -rwxrwxr-x  2 gjoly       24576 Jan 26 09:21 notso
  45. - -rwxrwxr-x  2 gjoly       24576 Jan 26 09:21 simple
  46. porridge:gjoly/c[25] strip simple notso
  47. strip: simple: Error 0
  48. porridge:gjoly/c[26] ls -l simple notso
  49. - -rwxrwxr-x  2 gjoly           0 Jan 26 09:21 notso
  50. - -rwxrwxr-x  2 gjoly           0 Jan 26 09:21 simple
  51. porridge:gjoly/c[27] file  simple notso
  52. simple:        empty
  53. notso:        empty
  54. porridge:gjoly/c[28] 
  55.  
  56.  
  57.  
  58. I discovered this when I tried to strip:
  59.  
  60. porridge:gjoly/Local/bin[126] ll gcc*
  61. - -rwxr-xr-x  2 gjoly      114688 Jan  7 16:37 gcc
  62. - -rwxr-xr-x  2 gjoly      114688 Jan  7 16:37 gcc-sparc-sun-sunos4.1.1
  63. porridge:gjoly/Local/bin[127] 
  64.  
  65. Gordon,
  66. ____
  67.  
  68. Gordon Joly      Phone  +44 71 387 7050 ext 3703      FAX  +44 71 387 1397
  69. Internet: G.Joly@cs.ucl.ac.uk        UUCP: ...!{uunet,uknet}!ucl-cs!G.Joly
  70. Computer Science, University College London, Gower Street, LONDON WC1E 6BT
  71.  
  72. ------- End of Forwarded Message
  73.  
  74.  
  75.