Re: Linux 2.4.x - reduce size of /lib libraries in ramdisk



dchou4u@xxxxxxxxxxx wrote:
> Thanks for your reply.
>
> Can you advise how I can:
>
> 1. Strip the shared libraries?
> 2. Configure the xconfig to use static linking of executables so that I
> can remove all shared libraries? How do I change the Makefile to use
> dietlibc?
> 3. Where can I find a sized optimized busybox?

Ad 1: man strip

Ad 2: What is xconfig? About dietlibc: Search for it with your favourite
search engine. dietlibc comes with a script that compiles and links
the C files properly. You have to adjust the Makefile to use that.
Maybe you can get away with setting the CC environment variable for
make.

Ad 3: Again, a web search will lead you to it.

Yours,
Laurenz Albe
.



Relevant Pages