This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: compile glibc without most features
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.