Hello
I am trying to boot hardhat linux with a small ram disk. However, libc is more
than 4 megs by itself. Is there something obvious I can do/read? I tried using
busybox, but that only makes the bin directory small. I don't really know
what I should do about the /lib directory.
John
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
John F. Davis wrote:
I am trying to boot hardhat linux with a small ram disk. However, libc is more
than 4 megs by itself. Is there something obvious I can do/read?
Strip the library. It will remove symbols that are handy for
debugging, but leave the ones that are needed for dynamic linking.
--
Joe Green [off-list ref]
MontaVista Software, Inc.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
"John F. Davis" wrote:
I am trying to boot hardhat linux with a small ram disk...
.... Is there something obvious I can do/read?
Well, you could have purchased a subscription, and have already
called someone and received the answer. Or, you could read the
documentation that comes with the distribution. Or, you can
just use 'strip' and reduce the size to about 1 Mbyte or so.....
That will get you started, but I'm sure there are more questions
to come.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
In addition to strip you'll probably want to rebuild glibc as well without
debug info and optimize for size (not that gcc does all that much with
-Os but it'll certainly be better than -g).
----- Original Message -----
From: "John F. Davis" <redacted>
To: <redacted>
Sent: Wednesday, March 21, 2001 5:57 PM
Subject: ramdisk size using montevista
Hello
I am trying to boot hardhat linux with a small ram disk. However, libc is
more
than 4 megs by itself. Is there something obvious I can do/read? I tried
using
busybox, but that only makes the bin directory small. I don't really know
what I should do about the /lib directory.
John
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/