linux-mips
[Top] [All Lists]

Re: Support for smaller glibc

To: alhaz@xmission.com (Eric Jorgensen)
Subject: Re: Support for smaller glibc
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Sat, 2 Dec 2000 16:31:53 +0000 (GMT)
Cc: alan@lxorguk.ukuu.org.uk (Alan Cox), linux-mips@oss.sgi.com, linux-mips@fnet.fr
In-reply-to: <E142FIH-00017w-00@xmission.xmission.com> from "Eric Jorgensen" at Dec 02, 2000 09:13:45 AM
Sender: owner-linux-mips@oss.sgi.com
>       There are a few other methods. Lineo for instance has a utility
> called Lipo which goes through all the binaries on a system and then

Try it on a real application and with glibc 2.2 at least its far from
large. glibc isnt designed to be modular.

> substantial reduction in the size of libc6. Lipo is a proprietary
> app tho, currently only available supporting ia32 and ppc archetectures as
> part of the Embedix SDK.

Lipo is an afternoons work to do with libbfd so thats a path that is easy
to pursue. (

>       There's also uClibc, and i've heard some talk of using bsd's libc,
> which i understand is also smaller. These may require modification to the
> sourcecode of your apps to work properly. 

BSD libc is smaller, uClibc is pretty ropey and not very modular. Both the
BSD libc and newlib are modular. Newlib for mips32 without mips16 support 
including FPU emulation with every option on is about 350K


<Prev in Thread] Current Thread [Next in Thread>