I'm guessing you're using RedHat; my libc came from Debian. I'm not
entirely sure why the Debian libc is so much smaller than RedHats. The
Bootdisk-HOWTO suggests a method for stripping out the debugging
information (and I quote):
"Strip libraries and binaries
Many libraries and binaries are typically unstripped (include
debugging symbols). Running 'file' on these files will tell you
'not stripped' if so. When copying binaries to your root filesystem, it
is good practice to use:
objcopy --strip-all FROM TO
When copying libraries, use:
objcopy --strip-debug FROM TO"
Hopefully this will help. I had a similar problem with the giant libc
for RedHat, then I switched my development system to Debian and got the
smaller libc as an unintended side effect. Let's see... the easiest way
to grab the debian libc is perhaps to simply make their rescue disk,
boot it, mount your main linux partition under /mnt (hit alt+F2 to get
to their shell vt), and copy libc etc. from /lib. I -think- this should
do the trick. Note that Debian's rescue disk does some funky things--
i.e. it seems to fit 7Mb of data onto a 1.44Mb disk. Exactly -how- this
is done I didn't find out.
sean
[EMAIL PROTECTED]
"Prescott, Richard" wrote:
>
> >-rw-r--r-- 1 root root 651436 Feb 21 00:37 libc-2.0.7.so
> >lrwxrwxrwx 1 root root 13 May 13 13:22 libc.so.6
> >->
> >libc-2.0.7.so
>
> My libc seem to be bigger than yours !
>
> -rwxr-xr-x 2 root root 3070220 Oct 13 1998
> /lib/libc-2.0.7.so*
>
> How did you do it ?
>
> Thanks
>
> Richard
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/