home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22642 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.4 KB

  1. Path: sparky!uunet!mcsun!uknet!edcastle!dcs.ed.ac.uk!sct
  2. From: sct@dcs.ed.ac.uk (Stephen Tweedie)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: libc.so.4.2 Caveats!
  5. Message-ID: <SCT.93Jan4130411@ascrib.dcs.ed.ac.uk>
  6. Date: 4 Jan 93 13:04:11 GMT
  7. References: <MNL.93Jan2002919@mnlsun.dtro.e-technik.th-darmstadt.de>
  8. Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
  9. Organization: University of Edinburgh Dept. of Computer Science, Scotland
  10. Lines: 15
  11. In-Reply-To: mnl@dtro.e-technik.th-darmstadt.de's message of 2 Jan 93 00:29:19 GMT
  12.  
  13. In article <MNL.93Jan2002919@mnlsun.dtro.e-technik.th-darmstadt.de>, mnl@dtro.e-technik.th-darmstadt.de (Michael N. Lipp) writes:
  14. > 2) sed doesn't work any more. I have recompiled it using FSF sed-1.13.tar.Z.
  15. >    Strange enough, although I removed the sed-local regex.o getop.o and
  16. >    getopt1.o (thus using the functions in libc.so.4.2) and compiled with
  17. >    -O2, my new sed is about twice as large as the old one. Was it not
  18. >    FSF sed-1.13 in the SLS distribution?
  19.  
  20. Did you recompile with the -N option?  This can significantly reduce
  21. the size of small binaries (usually by about 6-8k).  -N prevents the
  22. compiler from padding out code and data pages to 4K boundaries, and,
  23. pfor tiny programs such as halt or ctrlaltdel, reduces the size from
  24. near 10K to around 2K.
  25. ---
  26. Stephen Tweedie <sct@uk.ac.ed.dcs>   (Internet: <sct@dcs.ed.ac.uk>)
  27. Department of Computer Science, Edinburgh University, Scotland.
  28.