RE: Ramdisk using libc5

4 messages, 3 authors, 2000-08-04 · open the first message on its own page

RE: Ramdisk using libc5

From: Lucinda Schafer <hidden>
Date: 2000-07-24 19:42:21

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/

Re: Ramdisk using libc5

From: Edson Ap. Seabra <hidden>
Date: 2000-07-24 22:00:19

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 ?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Ramdisk 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/

Re: Ramdisk using libc5

From: Edson Ap. Seabra <hidden>
Date: 2000-08-04 01:27:05

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

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help