public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Build small glibc-2.1.2 for floppy dist
@ 1999-12-26 13:16 Mark Wormgoor
  1999-12-31 22:24 ` Mark Wormgoor
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wormgoor @ 1999-12-26 13:16 UTC (permalink / raw)
  To: help-gcc

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/ *
***************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Build small glibc-2.1.2 for floppy dist
  1999-12-26 13:16 Build small glibc-2.1.2 for floppy dist Mark Wormgoor
@ 1999-12-31 22:24 ` Mark Wormgoor
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wormgoor @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

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/ *
***************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-26 13:16 Build small glibc-2.1.2 for floppy dist Mark Wormgoor
1999-12-31 22:24 ` Mark Wormgoor

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).