µ C l i b c

uClibc -- a C library for embedded systems
uClibc (aka µClibc/pronounced yew-see-lib-see) is a C library for developing embedded Linux systems. It is much smaller than the GNU C Library, but nearly all applications supported by glibc also work perfectly with uClibc. Porting applications from glibc to uClibc typically involves just recompiling the source code. uClibc even supports shared libraries and threading. It currently runs on standard Linux and MMU-less (also known as µClinux) systems with support for alpha, ARM, i386, i960, h8300, m68k, mips/mipsel, PowerPC, SH, SPARC, and v850 processors.

If you are building an embedded Linux system and you find that glibc is eating up too much space, you should consider using uClibc. If you are building a huge fileserver with 12 Terabytes of storage, than using glibc may be a better choice...

uClibc is maintained by Erik Andersen and is licensed under the GNU LIBRARY GENERAL PUBLIC LICENSE . This license allows you to make closed source commercial applications using uClibc (Please consider sharing some of the money you make ;-). You do not need to give away all your source code just because you use uClibc and/or run on Linux.

Mailing List Information

uClibc has a mailing list.
To subscribe, go and visit this page.

Frequently Asked Questions

You might want to take a look at the list of Frequently Asked Questions before asking questions on the mailing list...

Working Applications List

These days, pretty much everything compiles with uClibc. This is a list of applications that are known to work just fine with uClibc. Since most applications work just fine with uClibc, we are especially interested in knowing about any applications that either do not compile or do not work properly with uClibc. Submissions are welcome!
Latest News

  • 9 August 2002, uClibc 0.9.13 Released
    CodePoet Consulting is pleased to announce the immediate availability of uClibc 0.9.13. After several days of testing, this release is looking very solid. This release fixes three security vulnerabilites in previous releases. There was an off-by-one buffer overflow in the group handling code, and integer overflows in calloc() and xdr_array().

    This release adds native shared library support for the Hitachi SuperH architecture, thanks to Stefan Allius and Edie C. Dost. A new mmap based malloc was implemented by Miles Bader. This is much smarter than the old "malloc-simple" and is now the default for mmu-less systems, where it should greatly help reduce memory fragmentation and wastage. In addition to these larger items, there has been a lot of work done to make uClibc a cleaner, more capable, library. Most applications now compile and run without any trouble.

    The Changelog and source code for this release are available here.

    Have fun!

  • 9 August 2002, uClibc now mirrored on kernel.org!
    uClibc is now available from the kernel.org mirrors! This should make uClibc downloads much faster. The kernel.org mirrors will have all uClibc release versions (everything but the daily snapshots). Here is a list of all the kernel.org mirror sites. Just pick the closest mirror site, and then go to "/pub/linux/libs/uclibc/" to download uClibc. For example, is you live the USA, you can go to http://www.us.kernel.org/pub/linux/libs/uclibc/ to download the latest uClibc release from a nice fast system.

  • 11 July 2002, Native uClibc toolchains updated
    CodePoet Consulting (i.e. Erik) has released updated native uClibc/gcc-3.1 and uClibc/gcc-2.95 toolchains. These toolchains build real gcc cross compilers (i.e. not just a wrapper) and create executables linked vs uClibc. These toolchains have been tested and found working on x86, arm, and mmu-less arm. They should work (at least in theory!) for all architectures supported by uClibc.

    These toolchains should make it easy to anyone to build uClibc based applications. Source code can be downloaded here. Be aware that much of the needed source code will actually be downloaded on demand when you compile things. To build the toolchain, simply grab the source, edit the Makefile to select where you would like the toolchain installed, run 'make', and then go watch TV, eat dinner, or visit with your friends while it compiles. It takes about 15 minutes for Erik to compile the gcc-3.1 toolchain (w/C++ support) on his Athlon XP 1600 (not counting the time it takes to download source code). Your results may vary...

  • Old News
    Click here to read older news.

Sponsors
Please visit our sponsors and thank them for their support! They have provided money, equipment, bandwidth, etc. Next time you need help with a project, consider these fine companies! Several individuals have also contributed (If you have contributed and would like your name added here, just email Erik and let him know).
Do you like uClibc? Do you need support? Do you need some feature added? Then why not help out? We are happy to accept donations (such as bandwidth, mirrors sites, and hardware for the various architectures). We can also provide support contracts, and implement funded feature requests. To contribute, you can either click on the Donate image to donate using PayPal, or you can contact Erik at CodePoet Consulting (we have a credit card machine so you can avoid PayPal if you wish).
Download
Other Open Source C libraries:
Links to other useful stuff


Mail all comments, insults, suggestions and bribes to Erik Andersen
This site created with the vi editor Graphics by GIMP Linux Today

Slashdot

Freshmeat