Discrepancy? uClibc seems very large

Michael Deutschmann michael at talamasca.ocis.net
Sat Sep 26 04:52:16 UTC 2009

On Sat, 26 Sep 2009, Ersin Akinci wrote:
> Ah, you're correct.  I was running a simple du ./ on the install dir,
> but I didn't realize that that included the header files and static
> libs.  My total /lib comes out to ~320 KB and my libuClibc-*.so is
> ~160 KB.
> Are the header files needed for anything?  Can I delete them safely?
They are required to compile anything against uClibc, but not otherwise.

If you are cross-compiling every executable from a seperate system, on the
target system you may nuke /usr/lib/*.a, /usr/lib/*.o, and /usr/include.

---- Michael Deutschmann <michael at talamasca.ocis.net>

More information about the uClibc mailing list