compile glibc without most features

Wolfram Gloger Wolfram.Gloger@dent.med.uni-muenchen.de
Fri Apr 28 00:40:00 GMT 2000


Hello,

> So I think glibc is the only lib, that can be used for a Linux boot
> disk.  But the single so file is bigger than 2 MB.

What??

% size /lib/libc-2.1.3.so 
   text    data     bss     dec     hex filename
 887615   13240   15132  915987   dfa13 /lib/libc-2.1.3.so

> Each static link
> produces binaries which are about 200 - 400 KB.

Yes, static linking is _not_ what you want.

> So you see: It is a *pain* to get glibc on a floppy.

Debian, for example, has done it quite easily.  In a gzip-compressed
boot image, glibc-2.1.3.so (the standard build) doesn't take more than
370k or so.

Regards,
Wolfram.


More information about the Libc-alpha mailing list