Try stripping all the debug info out--libc-2.1.2.so will be about 370k.
Lucinda
-----Original Message-----
From: Edson Ap. Seabra [mailto:seabra@cyclades.com]
Sent: Monday, July 24, 2000 2:29 PM
To: Linux List
Subject: Ramdisk using libc5
I want to make a ramdisk image for a PPC board that provides
basic network services
such as ping, telnet, traceroute and ftp. I would like the final memory
image size less than 2 Mb. Only libc-2.1.2.so has 4 Mb.
Has somebody done this using libc5 ?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Thank You, Lucinda.
This helps a lot. The libc now has 1.03 Mb ... I guess libc still have a lot of
code that I don't need. I have to find a easy way to strip them.
Edson.
Lucinda Schafer wrote:
Try stripping all the debug info out--libc-2.1.2.so will be about 370k.
Lucinda
-----Original Message-----
From: Edson Ap. Seabra [mailto:seabra@cyclades.com]
Sent: Monday, July 24, 2000 2:29 PM
To: Linux List
Subject: Ramdisk using libc5
I want to make a ramdisk image for a PPC board that provides
basic network services
such as ping, telnet, traceroute and ftp. I would like the final memory
image size less than 2 Mb. Only libc-2.1.2.so has 4 Mb.
Has somebody done this using libc5 ?
From: Graham Stoney <hidden> Date: 2000-07-25 00:41:05
Edson Ap. Seabra writes:
This helps a lot. The libc now has 1.03 Mb ... I guess libc still have a lot
of code that I don't need. I have to find a easy way to strip them.
There is a magic script named mklibs.sh which removes unused functions from the shared C library in the Debian Boot Floppies package, at:
ftp://ftp.us.debian.org/debian/dists/potato/main/source/admin/boot-floppies_2.2.16.tar.gz
Let us know how you go!
Regards,
Graham
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
I am having two problems running the "mklibs.sh":
1) The script asks for files libxxx_pic.a and I do not know how to generate or to get them...
2) The script calls a command "readlink" that is not available in the Red Hat Linux 6.0
Beside this I have replaced many files from the directory bin by the busybox. I could save about 0.5M.
Regards.
Edson.
Graham Stoney wrote:
Edson Ap. Seabra writes:
quoted
This helps a lot. The libc now has 1.03 Mb ... I guess libc still have a lot
of code that I don't need. I have to find a easy way to strip them.
There is a magic script named mklibs.sh which removes unused functions from the shared C library in the Debian Boot Floppies package, at:
ftp://ftp.us.debian.org/debian/dists/potato/main/source/admin/boot-floppies_2.2.16.tar.gz
Let us know how you go!
Regards,
Graham