index.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <HTML>
  3. <HEAD>
  4. <TITLE>uClibc -- a C library for embedded systems</TITLE>
  5. </HEAD>
  6. <body text="#000000" alink="#660000" link="#660000" bgcolor="#dee2de" vlink="#660000">
  7. <basefont face="lucida, helvetica, arial" size="3">
  8. <CENTER>
  9. <p>
  10. <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
  11. <TR>
  12. <td bgcolor="#000000">
  13. <FONT FACE="lucida, helvetica" COLOR="#ccccc0">
  14. <B>µ&nbsp;C&nbsp;l&nbsp;i&nbsp;b&nbsp;c</B>
  15. </FONT>
  16. </TD>
  17. </TR>
  18. </TABLE>
  19. <p>
  20. <!-- Begin Introduction section -->
  21. <TABLE WIDTH=95% CELLSPACING=1 CELLPADDING=4 BORDER=1>
  22. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  23. <A NAME="intro"> <BIG><B>
  24. uClibc -- a C library for embedded systems
  25. </font>
  26. </A></B></BIG>
  27. </TD></TR>
  28. <TR><TD BGCOLOR="#eeeee0">
  29. <a href="http://www.uclibc.org">uClibc</a> (aka µClibc/pronounced
  30. yew-see-lib-see) is a C library for developing embedded Linux systems.
  31. It is much smaller than the
  32. <a href="http://www.gnu.org/software/libc/libc.html">GNU C Library</a>,
  33. but nearly all applications supported by glibc also work perfectly with
  34. uClibc. Porting applications from glibc to uClibc typically involves
  35. just recompiling the source code. uClibc even supports shared libraries
  36. and threading. It currently runs on <a href="http://kernel.org/">standard Linux</a>
  37. and <a href="http://www.uclinux.org">MMU-less (also known as µClinux)</a>
  38. systems with support for alpha, ARM, i386, i960, h8300, m68k, mips/mipsel,
  39. PowerPC, SH, SPARC, and v850 processors.
  40. <p>
  41. If you are building an embedded Linux system and you find that glibc is
  42. eating up too much space, you should consider using uClibc. If you are
  43. building a huge fileserver with 12 Terabytes of storage, than using
  44. glibc may be a better choice...
  45. <p>
  46. uClibc is maintained by
  47. <a href="http://www.codepoet.org/andersen/erik/erik.html">Erik Andersen</a>
  48. and is licensed under the
  49. <a href="http://www.gnu.org/copyleft/lgpl.html">GNU LIBRARY GENERAL PUBLIC LICENSE</a>
  50. . This license allows you to make closed source commercial applications using
  51. uClibc (Please consider sharing some of the money you make ;-). You do not need
  52. to give away all your source code just because you use uClibc and/or run on Linux.
  53. <p>
  54. <h3>Mailing List Information</h3>
  55. uClibc has a <a href="/lists/uclibc/">mailing list</a>.<br>
  56. To subscribe, go and visit
  57. <a href="http://www.uclibc.org/mailman/listinfo/uclibc">this page</a>.
  58. <p>
  59. <h3>Frequently Asked Questions</h3>
  60. Before asking questions on the uClibc mailing list,
  61. you might want to take a look at the
  62. <a href="FAQ.html">list of Frequently Asked Questions</a>
  63. or
  64. you might want to search the mailing list archives...
  65. <form method="GET" action="http://www.google.com/custom">
  66. <input type="hidden" name="domains" value="uclibc.org">
  67. <input type="hidden" name="sitesearch" value="uclibc.org">
  68. <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>&nbsp;<input type="text" name="q" size="31" maxlength="255" value="">&nbsp;<input type="submit" name="sa" value="search the mailing list archives">...
  69. </form>
  70. <h3>Working Applications List</h3>
  71. These days, pretty much everything compiles with uClibc. This
  72. is a <a href="uClibc-apps.html">list of applications</a> that are known
  73. to work just fine with uClibc. Since most applications work just
  74. fine with uClibc, we are especially interested in knowing about any
  75. applications that either <em>do not compile</em> or <em>do not work</em>
  76. properly with uClibc. Submissions are welcome!
  77. <!-- Begin Latest News section -->
  78. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  79. <A NAME="news">
  80. <BIG><B>
  81. Latest News</A>
  82. </B></BIG>
  83. </A>
  84. </TD></TR>
  85. <TR><TD BGCOLOR="#eeeee0">
  86. <ul>
  87. <p>
  88. <li> <b>12 February 2003, development system updates</b>
  89. <br>
  90. The uClibc development system has had a number of problems
  91. fixed, and has been updated for uClibc 0.9.18. The
  92. <a href="http://www.uclibc.org/downloads/root_fs-i386.bz2">i386</a>
  93. and
  94. <a href="http://www.uclibc.org/downloads/root_fs-powerpc.bz2">powerpc</a>,
  95. devel systems are updated and ready to download. The
  96. <a href="http://www.uclibc.org/downloads/root_fs-arm.bz2">arm</a>
  97. development system is still compiling, and will be available as
  98. soon as it finishes building. Have Fun.
  99. <p>
  100. <p>
  101. <li> <b>12 February 2003, uClibc 0.9.18 Released</b>
  102. <br>
  103. CodePoet Consulting is pleased to announce the immediate availability of
  104. uClibc 0.9.18. This is primarily a bug-fix release, as there were a few
  105. directory handling problem that could cause application using uClibc 0.9.17
  106. to either segfault or lose the first character when reading directry names.
  107. Unfortunately, once again, this release is _NOT_ binary compatible with
  108. earlier uClibc releases. I _think this will be the last time (with the
  109. possible exception of some future changes to our locale support...)
  110. <p>
  111. As usual, the
  112. <a href="http://www.uclibc.org/downloads/Changelog">Changelog</a>
  113. and <a href="http://www.uclibc.org/downloads/uClibc-0.9.18.tar.bz2">source code</a>
  114. for this release are available <a href="http://www.uclibc.org/downloads/">here</a>.
  115. You might want to download uClibc from the closest
  116. <a href="http://kernel.org/mirrors/">kernel.org mirror site</a>.
  117. Just pick the closest mirror site, and then go to
  118. <a href="http://www.kernel.org/pub/linux/libs/uclibc/">
  119. http://www.XX.kernel.org/pub/linux/libs/uclibc/</a>
  120. to download uClibc, where XX is your two letter country code.
  121. <p>
  122. <p>
  123. <p>
  124. <li> <b>25 January 2003, uClibc 0.9.17 Released</b>
  125. <br>
  126. CodePoet Consulting is pleased to announce the immediate availability of
  127. uClibc 0.9.17. The biggest piece of news with this release, thanks to
  128. Manuel Novoa's continuing hard work, is that we now have fully standards
  129. compliant locale support (optional of course). The support works nicely,
  130. (though configuring the locales you wish to support is still manual -- a
  131. task for the next release). Full locale data for over 300 locales adds
  132. approximately 250k. The collation data for all supported locales is
  133. roughly 180k. This may seem rather large to some -- but it is much smaller
  134. than the approximately 40 MB needed by Glibc to provide the same data. And
  135. if you don't need it, you can either disable locale support entirely, or
  136. enable a smaller set of locales.
  137. <p>
  138. This release also fixes <em>lots and lots</em> of bugs. The arm
  139. architecture support (I am embarrassed to note) was totally broken in the
  140. last release, but is now working as expected. A security problem (a
  141. buffer overflow in getlogin_r) was fixed. And there were architecture
  142. updates across the board (x86, arm, powerpc, cris, h8300, sparc, and mips).
  143. And of course, this release includes the usual pile of bug fixes. Many
  144. thanks for the large number of patches and fixes that were contributed!
  145. <p>
  146. Unfortunately, this release is not binary compatible with earlier uClibc
  147. releases. As noted as item 3 <a href="downloads/Glibc_vs_uClibc_Differences.txt">here</a>,
  148. uClibc does not (yet) attempt to
  149. ensure binary compatibility across releases. We will eventually do that
  150. (once we reach the "1.0" release) but not yet. A few bugs turned up that
  151. needed to be fixed, and the only good way to fix them was to change some
  152. fundamental data structure sizes. As a result, this release is _NOT_
  153. binary compatible with earlier releases -- you will need to recompile your
  154. applications. The x86, arm, powerpc, and mips architectures (i.e. the
  155. systems Erik has available in his office for testing) have been tested and
  156. are known to work following this change. Other architectures <em>may</em>
  157. need additional updates. Sorry about that, but it had to be done.
  158. <p>
  159. As usual, the
  160. <a href="http://www.uclibc.org/downloads/Changelog">Changelog</a>
  161. and <a href="http://www.uclibc.org/downloads/uClibc-0.9.17.tar.bz2">source code</a>
  162. for this release are available <a href="http://www.uclibc.org/downloads/">here</a>.
  163. You might want to download uClibc from the closest
  164. <a href="http://kernel.org/mirrors/">kernel.org mirror site</a>.
  165. Just pick the closest mirror site, and then go to
  166. <a href="http://www.kernel.org/pub/linux/libs/uclibc/">
  167. http://www.XX.kernel.org/pub/linux/libs/uclibc/</a>
  168. to download uClibc, where XX is your two letter country code.
  169. <p>
  170. <p>
  171. <li> <b>25 January 2003, dev system updates, arm image released</b>
  172. <br>
  173. A number of additional problems have been fixed and the arm build
  174. is now, finally, compiling and working as expected. As such,
  175. I have updated the <a href="http://www.uclibc.org/downloads/root_fs-i386.bz2">
  176. i386 development system image</a>, the
  177. <a href="http://www.uclibc.org/downloads/root_fs-powerpc.bz2">
  178. powerpc development system image</a>, and I am also releasing
  179. upon an unsuspecting world the brand new
  180. <a href="http://www.uclibc.org/downloads/root_fs-arm.bz2">
  181. arm development system image</a>!
  182. Have fun!
  183. <p>
  184. All three development system images were compiled and built using the stock
  185. <a href="/cgi-bin/cvsweb/buildroot/">buildroot</a> system. These were also
  186. built using the (about to be announced in a couple on minutes) uClibc
  187. 0.9.17 release, so if you want to begin compiling and testing stuff with
  188. uClibc, but you don't feel like spending the _hours_ it takes to download,
  189. configure, and build your own uClibc based development system -- then you
  190. may want to download these and give them a try. They each contain a 100 MB
  191. ext2 filesystem with everything you need to begin compiling your own
  192. applications. I have (at least minimally) tested each of them and verified
  193. that the included gcc and g++ compilers produce working uClibc linked
  194. executables.
  195. <p>
  196. Oh, and I have also have updated the uClibc/gcc toolchain builders, so
  197. if you just want a simple uClibc/gcc toolchain,
  198. <a href="/cgi-bin/cvsweb/toolchain/">one of these should work for you.</a>
  199. <p>
  200. <p>
  201. <li> <b>10 January 2003, dev system updates, powerpc image released</b>
  202. <br>
  203. A few problems showed up in yesterday's development system release
  204. (adduser was broken, gdb didn't work, libstdc++ shared libs were missing,
  205. etc). So I've updated the <a href="http://www.uclibc.org/downloads/root_fs-i386.bz2">
  206. i386 development system image</a> to fix these problems.
  207. Also, the <a href="http://www.uclibc.org/downloads/root_fs-powerpc.bz2">
  208. powerpc development system image</a> has finally finished compiling
  209. and is now released upon an unsuspecting world. Have fun!
  210. <p>
  211. <p>
  212. <li> <b>9 January 2003, uClibc development system released</b>
  213. <br>
  214. CodePoet Consulting (i.e. Erik) has been working hard on <a
  215. href="/cgi-bin/cvsweb/buildroot/">buildroot</a> recently, and is pleased to
  216. offer a full stand-alone uClibc-only development system. This is an ext2
  217. filesystem for i386 containing all the development software you need to
  218. build your own uClibc applications. With bash, awk, make, gcc, g++,
  219. autoconf, automake, ncurses, zlib, openssl, openssh, gdb, strace, valgrind,
  220. busybox, GNU coreutils, and more, this should have pretty much everything
  221. you need to get started building your own applications linked against
  222. uClibc. By using a uClibc only system, you can avoid all the painful
  223. cross-configuration problems that have made using uClibc somewhat painful
  224. in the past. A powerpc and an arm version are in progress. Expect them
  225. to be released shortly....
  226. <p>
  227. The <a href="http://www.uclibc.org/downloads/root_fs-i386.bz2">
  228. uClibc development system is an 18MB bzip2 compressed ext2 filesystem</a>,
  229. so be prepared to wait if you are on a slow link. If you wish to have more
  230. space, you can loop mount it and 'cp -a' the contents to their own
  231. partition, or do what I did... <EM>WARNING, the following can be very
  232. dangerous. Please be sure you know what you are doing before trying this.
  233. I am not responsible if you lose all your important data.</EM>I had a spare
  234. hard drive (in my case /dev/hdg but you'll want to adapt this to your own
  235. needs), so I partitioned it with a single ext2 partition filling the drive
  236. (in my case /dev/hdg1). Then I ran:<PRE>
  237. bzcat root_fs-i386.bz2 | dd of=/dev/hdg1
  238. e2fsck -f /dev/hdg1
  239. resize2fs -p /dev/hdg1</PRE>
  240. which overwrote everything on /dev/hdg with the new uClibc devel system,
  241. and then expanded the filesystem with the uClibc devel system till it
  242. filled the whole drive.
  243. <p>
  244. <p> <li> <b>Old News</b>
  245. <br>
  246. <a href="old-news.html">Click here to read older news</a>.
  247. <p>
  248. </ul>
  249. <!-- Begin Sponsors section -->
  250. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  251. <A NAME="sponsors"><BIG><B>
  252. Sponsors
  253. </A></B></BIG>
  254. </TD></TR>
  255. <tr><td bgcolor="#EEEEE0">
  256. Please visit our sponsors and thank them for their support! They have
  257. provided money, equipment, bandwidth, etc. Next time you need help with a
  258. project, consider these fine companies! Several individuals have also
  259. contributed (If you have contributed and would like your name added here,
  260. just email Erik and let him know).
  261. <ul>
  262. <li><a href="http://www.penguru.net">Penguru Consulting</a><br>
  263. Custom development for embedded Linux systems and multimedia platforms</li>
  264. <li><a href="http://opensource.se/">opensource.se</a><br>
  265. Embedded open source consulting in Europe.</li>
  266. <li><a href="http://www.codepoet-consulting.com">Codepoet Consulting</a><br>
  267. Custom Linux, embedded Linux, BusyBox, and uClibc development.</li>
  268. </ul>
  269. <table CELLSPACING=6 CELLPADDING=6 BORDER=0><tr>
  270. <td>
  271. Do you like uClibc? Do you need support? Do you need some feature
  272. added? Then why not help out? We are happy to accept donations
  273. (such as bandwidth, mirrors sites, and hardware for the various
  274. architectures). We can also provide support contracts, and implement
  275. funded feature requests. To contribute, you can either click on the
  276. Donate image to donate using PayPal, or you can contact Erik at
  277. <a href="http://codepoet-consulting.com/">CodePoet Consulting</a>
  278. (we have a credit card machine so you can avoid PayPal if you wish).
  279. </td>
  280. <td>
  281. <!-- Begin PayPal Logo -->
  282. <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  283. <input type="hidden" name="cmd" value="_xclick">
  284. <input type="hidden" name="business" value="andersen@codepoet.org">
  285. <input type="hidden" name="item_name" value="Support uClibc">
  286. <input type="hidden" name="image_url" value="https://codepoet-consulting.com/images/codepoet.png">
  287. <input type="hidden" name="no_shipping" value="1">
  288. <input type="image" src="images/donate.png" border="0" name="submit" alt="Make donation using PayPal">
  289. </form>
  290. </td>
  291. <!-- End PayPal Logo -->
  292. </tr>
  293. </table>
  294. <!-- Begin Download section -->
  295. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  296. <A NAME="download"><BIG><B>
  297. Download
  298. </A></B></BIG>
  299. </TD></TR>
  300. <TR><TD BGCOLOR="#eeeee0">
  301. <ul>
  302. <li> Source for the latest release can always be downloaded from
  303. <a href="downloads/">http://www.uclibc.org/downloads</a>
  304. <li> A <a href="downloads/snapshots/">daily snapshot of the source</a> is
  305. available for those wishing to follow uClibc developments, but cannot
  306. or do not wish to use CVS.
  307. <li> uClibc has a publically <a href="/cgi-bin/cvsweb/uClibc/">browsable CVS tree</a>.
  308. <li> <a href="cvs_anon.html">Anonymous CVS access</a> is available to let you track development.
  309. <li> <a href="cvs_write.html">CVS write access</a> is also available for those that are actively
  310. contributing.
  311. </ul>
  312. <!-- Begin Links section -->
  313. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  314. <A NAME="links">
  315. <BIG><B>
  316. Other Open Source C libraries:
  317. </A>
  318. </B></BIG>
  319. </A>
  320. </TD></TR>
  321. <TR><TD BGCOLOR="#eeeee0">
  322. I am currently aware of the following open source C libraries.
  323. <ul>
  324. <li><a href="http://www.gnu.org/software/libc/libc.html">GNU C Library (aka glibc)</a>
  325. <li> <a href="http://www.k9wk.com/cdoc.html">Al's FREE C Runtime Library</a>
  326. <li><a href="http://www.fefe.de/dietlibc/">diet libc </a>
  327. <li>the <a href="http://www.cs.vu.nl/~ast/minix.html">minix</a>
  328. <a href="http://www.cs.vu.nl/cgi-bin/raw/pub/minix/2.0.0/src.tar"
  329. >C library</a>
  330. <li> <a href="http://sources.redhat.com/newlib/">newlib</a>
  331. <li>and there is a
  332. <a href="ftp://sourceware.cygnus.com/pub/ecos/">C library</a>, for
  333. <a href="http://sources.redhat.com/ecos/">eCos</a> as well.
  334. <ul>
  335. <!-- Begin Links section -->
  336. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  337. <A NAME="links">
  338. <BIG><B>
  339. Links to other useful stuff
  340. </A>
  341. </B></BIG>
  342. </A>
  343. </TD></TR>
  344. <TR><TD BGCOLOR="#eeeee0">
  345. <ul>
  346. <li> <a href="http://www.uclibc.org/">The uClibc home page</a>
  347. <p>
  348. <li> <a href="/cgi-bin/cvsweb/uClibc/">The uClibc CVS tree</a>
  349. <p>
  350. <li> <a href="http://busybox.net/">BusyBox</a>
  351. <p>
  352. <li> <a href="http://udhcp.busybox.net/">udhcp</a>
  353. <p>
  354. <li> <a href="http://www.uclinux.org/">The uClinux home page</a>
  355. <p>
  356. <li> <a href="http://cvs.uclinux.org/">The uClinux CVS repository</a>
  357. <p>
  358. <li> <a href="http://codepoet-consulting.com/">CodePoet Consulting</a>
  359. <p>
  360. </ul>
  361. <!-- End of Table -->
  362. </TD></TR>
  363. </TABLE>
  364. </P>
  365. <!-- Footer -->
  366. <HR>
  367. <TABLE WIDTH="100%">
  368. <TR>
  369. <TD>
  370. <font size="-1" face="arial, helvetica, sans-serif">
  371. Mail all comments, insults, suggestions and bribes to
  372. <a href="mailto:andersen@codepoet.org">Erik Andersen</a><BR>
  373. </font>
  374. </TD>
  375. <TD>
  376. <a href="http://www.vim.org"><img border=0 width=90 height=36
  377. src="images/written.in.vi.png"
  378. alt="This site created with the vi editor"></a>
  379. </TD>
  380. <TD>
  381. <a href="http://www.gimp.org/"><img border=0 width=90 height=36
  382. src="images/gfx_by_gimp.png" alt="Graphics by GIMP"></a>
  383. </TD>
  384. <TD>
  385. <a href="http://www.linuxtoday.com"><img width=90 height=36
  386. src="images/ltbutton2.png" alt="Linux Today"></a>
  387. </TD>
  388. <TD>
  389. <p><a href="http://slashdot.org"><img width=90 height=36
  390. src="images/sdsmall.png" alt="Slashdot"></a>
  391. </TD>
  392. <TD>
  393. <a href="http://freshmeat.net"><img width=90 height=36
  394. src="images/fm.mini.png" alt="Freshmeat"></a>
  395. </TD>
  396. </TR>
  397. </TABLE>
  398. </CENTER>
  399. </BODY>
  400. </HTML>