home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8026 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.7 KB  |  36 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!news.claremont.edu!jarthur.claremont.edu!jwinstea
  3. From: jwinstea@jarthur.claremont.edu (Jim Winstead Jr.)
  4. Subject: Re: root disk vs. mj disk, also hd.c patch
  5. Message-ID: <1992Aug12.184959.20152@muddcs.claremont.edu>
  6. Sender: news@muddcs.claremont.edu (The News System)
  7. Organization: Harvey Mudd College, WIBSTR
  8. References: <1992Aug12.011334.17155@ultb.isc.rit.edu>
  9. Date: Wed, 12 Aug 1992 18:49:59 GMT
  10. Lines: 24
  11.  
  12. In article <1992Aug12.011334.17155@ultb.isc.rit.edu> axi0349@ultb.isc.rit.edu (A.X. Ivasyuk ) writes:
  13. >First of all, how do you get the executables to be so tiny on the root disk
  14. >and the mj distribution?  I can't get mine under 9K, even a 'hello, world'
  15. >program.  I'd like to be able to squeeze my 80MB drive to the max.
  16. >It can't be just the -O flag on gcc.
  17.  
  18. Use both the '-N' and '-s' flags to the linking stage.  -N creates an
  19. 'impure' executable, which can't be demand-paged.  -s strips the
  20. symbol information from the compiled file.
  21.  
  22. >Second, why the large difference in file size between some of the binaries
  23. >on the 'official' root disk and the mj disk?  Are they different versions?
  24. >Provide extra features?
  25.  
  26. It's possible they're different versions of the same package, or
  27. completely different versions of the same type of software.  A good
  28. example is 'tar' - on the 0.97 (and 0.96) root, tar is simply a
  29. symlink to pax, the Posix standard archiver.  On the MJ releases, tar
  30. has been GNU tar.
  31. -- 
  32.                                     +    Jim Winstead Jr. (CSci '95)
  33.                                     |            Harvey Mudd College
  34.                                     | jwinstea@jarthur.Claremont.EDU
  35.                                     + This is all my words.  Honest!
  36.