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

  1. Path: sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!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: Strip deletes a.out's if linked.
  5. Date: 26 Jan 1993 22:05:42 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 36
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gnu-utils@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301261513.AA28668@life.ai.mit.edu>
  12.  
  13. On SUN4, SunOS 4.1.1, gcc 2.3.3 compiled, strip version 1.94 (?)
  14.  
  15. porridge:gjoly/c[21] cc -o simple simple.c
  16. porridge:gjoly/c[22] ln simple notso
  17. porridge:gjoly/c[23] file simple notso
  18. simple:        sparc demand paged dynamically linked executable not stripped
  19. notso:        sparc demand paged dynamically linked executable not stripped
  20. porridge:gjoly/c[24] ls -l simple notso
  21. -rwxrwxr-x  2 gjoly       24576 Jan 26 09:21 notso
  22. -rwxrwxr-x  2 gjoly       24576 Jan 26 09:21 simple
  23. porridge:gjoly/c[25] strip simple notso
  24. strip: simple: Error 0
  25. porridge:gjoly/c[26] ls -l simple notso
  26. -rwxrwxr-x  2 gjoly           0 Jan 26 09:21 notso
  27. -rwxrwxr-x  2 gjoly           0 Jan 26 09:21 simple
  28. porridge:gjoly/c[27] file  simple notso
  29. simple:        empty
  30. notso:        empty
  31. porridge:gjoly/c[28] 
  32.  
  33.  
  34.  
  35. I discovered this when I tried to strip:
  36.  
  37. porridge:gjoly/Local/bin[126] ll gcc*
  38. -rwxr-xr-x  2 gjoly      114688 Jan  7 16:37 gcc
  39. -rwxr-xr-x  2 gjoly      114688 Jan  7 16:37 gcc-sparc-sun-sunos4.1.1
  40. porridge:gjoly/Local/bin[127] 
  41.  
  42. Gordon,
  43. ____
  44.  
  45. Gordon Joly      Phone  +44 71 387 7050 ext 3703      FAX  +44 71 387 1397
  46. Internet: G.Joly@cs.ucl.ac.uk        UUCP: ...!{uunet,uknet}!ucl-cs!G.Joly
  47. Computer Science, University College London, Gower Street, LONDON WC1E 6BT
  48.  
  49.