<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> <TITLE>uClibc -- a C library for embedded systems</TITLE> </HEAD> <body text="#000000" alink="#660000" link="#660000" bgcolor="#dee2de" vlink="#660000"> <basefont face="lucida, helvetica, arial" size="3"> <p> <CENTER> <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2> <TR> <td bgcolor="#000000"> <FONT FACE="lucida, helvetica" COLOR="#ccccc0"> <B>� C l i b c</B> </FONT> </TD> </TR> </TABLE> <p> </CENTER> <!-- Begin Introduction section --> <TABLE WIDTH=95% CELLSPACING=1 CELLPADDING=4 BORDER=1> <TR><TD BGCOLOR="#ccccc0" ALIGN=center> <A NAME="intro"> <BIG><B> uClibc -- a C library for embedded systems </font> </A></B></BIG> </TD></TR> <TR><TD BGCOLOR="#eeeee0"> <a href="http://www.uclibc.org">uClibc</a> (aka �Clibc/pronounced yew-see-lib-see) is a C library for developing embedded Linux systems. It is much smaller than the <a href="http://www.gnu.org/software/libc/libc.html">GNU C Library</a>, 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 <a href="http://kernel.org/">standard Linux</a> and <a href="http://www.uclinux.org">MMU-less (also known as �Clinux)</a> systems with support for alpha, ARM, cris, i386, i960, h8300, m68k, mips/mipsel, PowerPC, SH, SPARC, and v850 processors. <p> 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, then using glibc may make more sense. Unless, for example, that 12 Terabytes will be Network Attached Storage and you plan to burn Linux into the system's firmware... <p> uClibc is maintained by <a href="http://www.codepoet.org/andersen/erik/erik.html">Erik Andersen</a> and is licensed under the <a href="http://www.gnu.org/copyleft/lgpl.html">GNU LIBRARY GENERAL PUBLIC LICENSE</a> . 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. <p> <h3>Mailing List Information</h3> uClibc has a <a href="/lists/uclibc/">mailing list</a>.<br> To subscribe, go and visit <a href="http://www.uclibc.org/mailman/listinfo/uclibc">this page</a>. <p> <h3>Frequently Asked Questions</h3> Before asking questions on the uClibc mailing list, you might want to take a look at the <a href="FAQ.html">list of Frequently Asked Questions</a> or you might want to search the mailing list archives... <form method="GET" action="http://www.google.com/custom"> <input type="hidden" name="domains" value="uclibc.org"> <input type="hidden" name="sitesearch" value="uclibc.org"> <a href="http://www.google.com"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" height="32" width="75" align="middle"></a> <input type="text" name="q" size="31" maxlength="255" value=""> <input type="submit" name="sa" value="search the mailing list archives">... </form> <h3>Working Applications List</h3> These days, pretty much everything compiles with uClibc. This is a <a href="uClibc-apps.html">list of applications</a> 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 <em>do not compile</em> or <em>do not work</em> properly with uClibc. Submissions are welcome! <!-- Begin Latest News section --> <TR><TD BGCOLOR="#ccccc0" ALIGN=center> <A NAME="news"> <BIG><B> Latest News</A> </B></BIG> </A> </TD></TR> <TR><TD BGCOLOR="#eeeee0"> <ul> <p> <li> <b>9 September 2003, uClibc 0.9.21 Released</b> <br> CodePoet Consulting is pleased to announce the immediate availability of uClibc 0.9.21. This release has been brewing for several months now, and provides quite a lot of additional functionality and quite a few bug fixes as well. Many people will be pleased that this release fixes the "dlopen()'ing libraries that depend on libraries" problem. <p> The biggest thing in this release (and I do mean that literally) is that uClibc now has full ANSI/ISO C99 locale support. Well, except for wcsftime() and collating items in regex, which are not done yet. Adding support for the default set of locales (169 UTF-8 locales and 144 locales using other codesets) will enlarge uClibc by around 300k. Still, if you need locale support, that is still much better than the roughly 30MB the comparable set of locale date occupies with glibc. And you can of course reduce the 300k by reducing the number of supported locales. <p> As usual, this release has many improvements, both large and small. At this point, most applications that compile and work with glibc will also compile and run with uClibc. Both Perl and Python pass all the tests in their test suites (both with and without locale support enabled). We invite you to grab a copy of the latest <a href="http://ltp.sourceforge.net/"> Linux Test Project test suite</a> and give uClibc some abuse. We are not yet perfect, but we are getting pretty darn close. <p> This release is not binary compatible with earlier releases. Depending on your configuration, you may actually still be binary compatible, but it would be a good idea to recompile your applications when moving to the uClibc 0.9.21 release. We are sorry about that, but we have never promised to provide binary compatibility until we hit version 1.0. And even then, if you change your uClibc configuration, you still still generally need to recompile... <p> As usual, the <a href="http://www.uclibc.org/downloads/Changelog">Changelog</a>, <a href="http://www.uclibc.org/downloads/Changelog.full">detailed changelog</a>, and <a href="http://www.uclibc.org/downloads/uClibc-0.9.21.tar.bz2">source code for this release</a> are available <a href="http://www.uclibc.org/downloads/">here</a>. <p> Updated uClibc development systems using uClibc 0.9.21 will be made available within a few days. <p> <p> <li> <b>Old News</b> <br> <a href="old-news.html">Click here to read older news</a>. <p> </ul> <!-- Begin Sponsors section --> <TR><TD BGCOLOR="#ccccc0" ALIGN=center> <A NAME="sponsors"><BIG><B> Sponsors </A></B></BIG> </TD></TR> <tr><td bgcolor="#EEEEE0"> 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). <ul> <li><a href="http://www.penguru.net">Penguru Consulting</a><br> Custom development for embedded Linux systems and multimedia platforms</li> <li><a href="http://opensource.se/">opensource.se</a><br> Embedded open source consulting in Europe.</li> <li><a href="http://www.codepoet-consulting.com">Codepoet Consulting</a><br> Custom Linux, embedded Linux, BusyBox, and uClibc development.</li> </ul> <table CELLSPACING=6 CELLPADDING=6 BORDER=0><tr> <td> Do you like uClibc? Do you need support? Do you need some features 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 <a href="http://codepoet-consulting.com/">CodePoet Consulting</a> (we have a credit card machine so you can avoid PayPal if you wish). </td> <td> <!-- Begin PayPal Logo --> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="andersen@codepoet.org"> <input type="hidden" name="item_name" value="Support uClibc"> <input type="hidden" name="image_url" value="https://codepoet-consulting.com/images/codepoet.png"> <input type="hidden" name="no_shipping" value="1"> <input type="image" src="images/donate.png" border="0" name="submit" alt="Make donation using PayPal"> </form> </td> <!-- End PayPal Logo --> </tr> </table> <!-- Begin Download section --> <TR><TD BGCOLOR="#ccccc0" ALIGN=center> <A NAME="download"><BIG><B> Download </A></B></BIG> </TD></TR> <TR><TD BGCOLOR="#eeeee0"> <ul> <li> Source for the latest release can always be downloaded from <a href="downloads/">http://www.uclibc.org/downloads</a> <li> You may want to download uClibc from the closest <a href="http://kernel.org/mirrors/">kernel.org mirror site</a>. Just pick the closest mirror site, and then go to the <a href="http://www.kernel.org/pub/linux/libs/uclibc/">/pub/linux/libs/uclibc/</a> directory to download uClibc. <li> A <a href="downloads/snapshots/">daily snapshot of the source</a> is available for those wishing to follow uClibc developments, but cannot or do not wish to use CVS. <li> uClibc has a publically <a href="/cgi-bin/cvsweb/uClibc/">browsable CVS tree</a>. <li> <a href="cvs_anon.html">Anonymous CVS access</a> is available to let you track development. <li> <a href="cvs_write.html">CVS write access</a> is also available for those that are actively contributing. </ul> <!-- Begin Toolchain section --> <TR><TD BGCOLOR="#ccccc0" ALIGN=center> <A NAME="toolchain"><BIG><B> Toolchains </A></B></BIG> </TD></TR> <TR><TD BGCOLOR="#eeeee0"> <ul> <li>Steven J. Hill has kindly provided <a href="ftp://ftp.realitydiluted.com/linux/MIPS/toolchains">RPMs and SRPMs</a> with toolchains for mips. <li>You can build your own <a href="/cgi-bin/cvsweb/toolchain/">uClibc toolchain</a> using these Makefiles which automagically download all the source needed code and compile it for you. <li>uClibc development systems for <a href="http://www.uclibc.org/downloads/root_fs-i386.bz2">i386</a> and <a href="http://www.uclibc.org/downloads/root_fs-powerpc.bz2">powerpc</a>, and <a href="http://www.uclibc.org/downloads/root_fs-arm.bz2">arm</a> are available and contain complete gcc 3.2.2 toolchains. <li>You can compile your own uClibc development system using <a href="/cgi-bin/cvsweb/buildroot/">buildroot</a>. </ul> <!-- Begin Links section --> <TR><TD BGCOLOR="#ccccc0" ALIGN=center> <A NAME="links"> <BIG><B> Other Open Source C libraries: </A> </B></BIG> </A> </TD></TR> <TR><TD BGCOLOR="#eeeee0"> I am currently aware of the following open source C libraries. <ul> <li><a href="http://www.gnu.org/software/libc/libc.html">GNU C Library (aka glibc)</a> <li> <a href="http://www.k9wk.com/cdoc.html">Al's FREE C Runtime Library</a> <li><a href="http://www.fefe.de/dietlibc/">diet libc </a> <li>the <a href="http://www.cs.vu.nl/~ast/minix.html">minix</a> <a href="http://www.cs.vu.nl/cgi-bin/raw/pub/minix/2.0.0/src.tar" >C library</a> <li> <a href="http://sources.redhat.com/newlib/">newlib</a> <li>and there is a <a href="ftp://sourceware.cygnus.com/pub/ecos/">C library</a>, for <a href="http://sources.redhat.com/ecos/">eCos</a> as well. <ul> <!-- Begin Links section --> <TR><TD BGCOLOR="#ccccc0" ALIGN=center> <A NAME="links"> <BIG><B> Links to other useful stuff </A> </B></BIG> </A> </TD></TR> <TR><TD BGCOLOR="#eeeee0"> <ul> <li> <a href="http://www.uclibc.org/">The uClibc home page</a> <p> <li> <a href="/cgi-bin/cvsweb/uClibc/">The uClibc CVS tree</a> <p> <li> <a href="http://busybox.net/">BusyBox</a> <p> <li> <a href="http://udhcp.busybox.net/">udhcp</a> <p> <li> <a href="http://www.uCdot.org/">Embedded Linux Developer Forum</a> <p> <li> <a href="http://codepoet-consulting.com/">CodePoet Consulting</a> <p> </ul> <!-- End of Table --> </TD></TR> </TABLE> </P> <!-- Footer --> <HR> <TABLE WIDTH="100%"> <TR> <TD> <font size="-1" face="arial, helvetica, sans-serif"> Mail all comments, insults, suggestions and bribes to <a href="mailto:andersen@codepoet.org">Erik Andersen</a><BR> </font> </TD> <TD> <a href="http://www.vim.org"><img border=0 width=90 height=36 src="images/written.in.vi.png" alt="This site created with the vi editor"></a> </TD> <TD> <a href="http://www.gimp.org/"><img border=0 width=90 height=36 src="images/gfx_by_gimp.png" alt="Graphics by GIMP"></a> </TD> <TD> <a href="http://www.linuxtoday.com"><img width=90 height=36 src="images/ltbutton2.png" alt="Linux Today"></a> </TD> <TD> <p><a href="http://slashdot.org"><img width=90 height=36 src="images/sdsmall.png" alt="Slashdot"></a> </TD> <TD> <a href="http://freshmeat.net"><img width=90 height=36 src="images/fm.mini.png" alt="Freshmeat"></a> </TD> </TR> </TABLE> </BODY> </HTML>