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