Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Eric Radman <theman@...>
Subject: uClibc vs. Glibc
Date: Thu, 06 Nov 2003 18:00:54 +0000
Glibc is obviously compatible with everything, but it wasn't designed
for light-weight systems. See "Lightweight Linux, Part 1" at IBM
developerworks by Todd E. Sundsted (todd-p2p@...):

Quote:
------------------------------------------------------------------------
uClibc
Every Linux system needs a C library. The C library provides common file
operations (open, read, write), memory management operations (malloc,
free), and many other functions that make a Linux system a Linux system.
Most Linux systems use Glibc. Glibc is mature, well tested, and actively
being developed. Unfortunately, it also uses an unacceptable amount of
memory. 

Rather than use Glibc, I recommend uClibc, a modern, stable, highly
compatible replacement for Glibc. uClibc was developed for embedded
systems and is therefore intended to be complete but lightweight.
Trade-offs between speed and size were decided in the direction of size.
In spite of this, in almost all cases, applications and tools compiled
against uClibc are indistinguishable from those compiled against glibc.
The uClibc Web site (see Resources) lists over one hundred applications
that are known or have been reported to work with uClibc. The list
includes standard utilities like Gzip and Lilo, as well as slightly less
common utilities like Lame (an MP3 encoder) and Freeswan (a VPN
implementation). Since I measure the usefulness of a system by the
maturity of the tools and applications that run on the system, it was
important to me that the C library I chose be capable of supporting the
tools I needed. 

Dietlibc is another alternative to Glibc. My research indicated that
while Dietlibc requires less memory that uClibc, it realizes this gain
by sacrificing compatibility with Glibc. In the end, I went with uClibc
because it appeared to support more of the applications that I needed to
use. 
------------------------------------------------------------------------
http://www-106.ibm.com/developerworks/linux/library/l-lwl1/

Eric Radman
theman@...


On Thu, 2003-11-06 at 22:34, nDiScReEt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thursday 06 November 2003 02:52 pm, Chris PeBenito wrote:
> > Again, welcome to everybody.
> >
> > If you haven't looked at the rudimentary project page:
> > http://dev.gentoo.org/~pebenito/embedded.html
> >
> > I added a subproject about real time systems, as suggested by someone in
> > the IRC channel.  Please glance over the subproject listings, and we'd
> > like to know if you have further suggestions.
> >
> > As I see it now, the first thing we need to tackle is the building.  We
> > need to get cross compilers going.  Kumba has been doing some work on
> > that recently, but is currently buried under a pile of classwork.  If
> > you're interested in helping him out, drop him an email.  So when he
> > gets through with his other responsibilities, hopefully we can get some
> > stuff going.
> >
> > We're kicking around the idea of creating profile(s) for the systems,
> > which would obviously have the bare minimum for operation and would be
> > using uClibc.
> >
> > I'd really like to have some brainstorming, since we're just starting
> > out.  So I encourage everyone to bring forward their ideas.
> 
> 
> Are you saying that gentoo's implimentations will use only uClibc? I think 
> familiar prefers glibc but I am not certain. I sent them an inquiry and I 
> should have an answer shortly in regards to that. If familiar does prefer 
> glibc over uClibc, will there be an option for the glibc over uClibc?
> 
> - -- 
> - ------------------------------------------------------------------------
> Altoine B
> Maximum Time Unlimited
> Chicago Based and Operated
> - ------------------------------------------------------------------------
> IBM Advanced Systems Group -- a bunch of mindless jerks, who'll be first
> against the wall when the revolution comes...
> 		-- with regrets to D. Adams
> - ------------------------------------------------------------------------
> 2.6.0-test9
> Gentoo Base System version 1.4.3.11
> - ------------------------------------------------------------------------
> Public Key:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x22D6857B
> - ------------------------------------------------------------------------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/qsyIwuQ/lCLWhXsRAgfjAJ9nBb17vWG2Q8fSLRCBMhl5NJe5hgCdH7T2
> P6e2mDT0ntq0DeCsyre4pQ0=
> =GXj6
> -----END PGP SIGNATURE-----
> 
> 
> --
> gentoo-embedded@g.o mailing list
> 


--
gentoo-embedded@g.o mailing list

Replies:
Re: uClibc vs. Glibc
-- AJ Armstrong
Bootloaders, and more bootloaders
-- Eric Radman
References:
Welcome
-- Chris PeBenito
Re: Welcome
-- nDiScReEt
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Welcome
Next by thread:
Bootloaders, and more bootloaders
Previous by date:
Re: Welcome
Next by date:
Bootloaders, and more bootloaders


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.