From: Mark Wormgoor <riddles@cistron.nl>
To: help-gcc@gnu.org
Subject: Build small glibc-2.1.2 for floppy dist
Date: Fri, 31 Dec 1999 22:24:00 -0000 [thread overview]
Message-ID: <386682F2.82626CF6@cistron.nl> (raw)
Message-ID: <19991231222400.FGPlcjfgZL1NfH_xWUNvHCClznF0-hjgE14DVhJ5gG0@z> (raw)
Hi,
For linuxrouter ( http://www.linuxrouter.org/ ) I'm currently trying to get
glibc-2.1.2 to compile as small as I can. Currently, I managed to get it down
to 1.116.288 bytes. However, linuxrouter is currently based on 2.0.7, which was
only 651.436 after compilation. Is there any way to get it down even further
without removing functionality??? If there is no way, what functions are
(mostly) unnecessary and how can I disable these?
Linuxrouter currently boots off of a floppy and would like to continue like that
in the future.
Currently, I've tried to compile glibc-2.1.2 using the following options:
CFLAGS="-mcpu=i386 -O6 -fPIC" configure i386-pc-linux-gnu \
--prefix=/usr --enable-add-ons --enable-omitfp --disable-versioning \
--disable-profile --without-cvs
Then compile and strip all the libs.
glibc-2.0.7 LRP glibc-2.1.2 glibc-2.1.2-Redhat
(as in Materhorn) (recompiled) (not stripped!)
ld-2.0.7.so 44.632 88.572 344.890
libc-2.0.7.so 651.436 1.116.288 4.118.299
libcrypt-2.0.7.so 16.932 21.828 64.595
libdl-2.0.7.so 6.612 13.681 74.663
libnsl-2.0.7.so 19.044 87.540 372.604
libnss_db-2.0.7.so 18.096 19.248 196.670
libnss_dns-2.0.7.so 9.976 12.308 67.172
libnss_files-2.0.7.so 30.204 35.556 247.348
libresolv-2.0.7.so 45.104 50.216 170.564
libutil-2.0.7.so 6.692 + 8.148 + 46.504 +
-------------------------------------------------------------------
Total size 848.728 1.453.385 5.703.309
Any help would really be appreciated.
Kind regards,
Mark Wormgoor
--
***************************************************************
* |\ /| | /| / Mark Wormgoor *
* | \ / | | / | / mailto:riddles@cistron.nl *
* | \/ |ark |/ |/ormgoor http://riddles.www.cistron.nl/ *
***************************************************************
next reply other threads:[~1999-12-31 22:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-26 13:16 Mark Wormgoor [this message]
1999-12-31 22:24 ` Mark Wormgoor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=386682F2.82626CF6@cistron.nl \
--to=riddles@cistron.nl \
--cc=help-gcc@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).