* Ramdisk using libc5
@ 2000-07-24 19:29 Edson Ap. Seabra
2000-07-24 19:47 ` "Jeffrey D. Kowing" <Jeff Kowing
0 siblings, 1 reply; 6+ messages in thread
From: Edson Ap. Seabra @ 2000-07-24 19:29 UTC (permalink / raw)
To: Linux List
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Ramdisk using libc5
@ 2000-07-24 19:42 Lucinda Schafer
2000-07-24 22:00 ` Edson Ap. Seabra
0 siblings, 1 reply; 6+ messages in thread
From: Lucinda Schafer @ 2000-07-24 19:42 UTC (permalink / raw)
To: 'Edson Ap. Seabra', Linux List
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Ramdisk using libc5
2000-07-24 19:29 Ramdisk using libc5 Edson Ap. Seabra
@ 2000-07-24 19:47 ` "Jeffrey D. Kowing" <Jeff Kowing
0 siblings, 0 replies; 6+ messages in thread
From: "Jeffrey D. Kowing" <Jeff Kowing @ 2000-07-24 19:47 UTC (permalink / raw)
To: linuxppc-embedded
You need to strip libc-2.1.2.so, i.e.,
$ strip libc-2.1.2.so
to remove the debugging symbols. It should reduce it to around 1 MB.
Edson Ap. Seabra writes:
>
> 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 ?
>
>
--
Jeff Kowing
jeffrey.d.kowing1@jsc.nasa.gov
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ramdisk using libc5
2000-07-24 19:42 Lucinda Schafer
@ 2000-07-24 22:00 ` Edson Ap. Seabra
2000-07-25 0:41 ` Graham Stoney
0 siblings, 1 reply; 6+ messages in thread
From: Edson Ap. Seabra @ 2000-07-24 22:00 UTC (permalink / raw)
To: Linux List
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ramdisk using libc5
2000-07-24 22:00 ` Edson Ap. Seabra
@ 2000-07-25 0:41 ` Graham Stoney
2000-08-04 1:27 ` Edson Ap. Seabra
0 siblings, 1 reply; 6+ messages in thread
From: Graham Stoney @ 2000-07-25 0:41 UTC (permalink / raw)
To: Edson Ap. Seabra; +Cc: Linux List
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ramdisk using libc5
2000-07-25 0:41 ` Graham Stoney
@ 2000-08-04 1:27 ` Edson Ap. Seabra
0 siblings, 0 replies; 6+ messages in thread
From: Edson Ap. Seabra @ 2000-08-04 1:27 UTC (permalink / raw)
To: Linux List
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:
> > 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/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-08-04 1:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-24 19:29 Ramdisk using libc5 Edson Ap. Seabra
2000-07-24 19:47 ` "Jeffrey D. Kowing" <Jeff Kowing
-- strict thread matches above, loose matches on Subject: below --
2000-07-24 19:42 Lucinda Schafer
2000-07-24 22:00 ` Edson Ap. Seabra
2000-07-25 0:41 ` Graham Stoney
2000-08-04 1:27 ` Edson Ap. Seabra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).