index.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  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://uclibc.org">uClibc</a> (aka µClibc but pronounced
  30. yew-see-lib-see) is a C library for embedded Linux systems. It is much smaller
  31. then GNU libc, but nearly all applications supported by the
  32. <a href="http://www.gnu.org/software/libc/libc.html">GNU C Library (aka glibc)</a>
  33. also work perfectly with uClibc. Porting applications from
  34. glibc to uClibc typically involves just recompiling the source code. uClibc
  35. supports standard Linux systems (such as x86, strongArm, and powerpc), and also
  36. supports <a href="http://www.uclinux.org">MMU-less (also known as µClinux)</a>
  37. systems, such as those based on the Coldfire, dragonball, or arm7tdmi
  38. micro-controllers. If you are building an embedded Linux system, and you fine
  39. the GNU libc is eating up too much space, you should consider using uClibc
  40. instead. If you are working on an older system with limited memory (such as an
  41. oldworld Mac), uClibc may also be useful for you. If you are using a standard
  42. desktop Linux workstation to develop applications for an embedded Linux system,
  43. you can use run uClibc on your workstation while doing development. If you are
  44. trying to build a ultra fast fileserver for your company that has 12 Terabytes
  45. of storage, then you probably want to use glibc...
  46. <p>
  47. <p>
  48. uClibc is maintained by
  49. <a href="http://www.codepoet.org/andersen/erik/erik.html">Erik Andersen</a>
  50. and is licensed under the
  51. <a href="http://www.gnu.org/copyleft/lgpl.html">GNU LIBRARY GENERAL PUBLIC LICENSE</a>
  52. . This license allows you to make closed source commercial applications using
  53. uClibc (Please consider sharing some of the money you make ;-). You do not need
  54. to give away all your source code just because you use uClibc and/or run on Linux.
  55. <p>
  56. <!-- Begin Mailing list section -->
  57. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  58. <A NAME="mailing_list"><BIG><B>
  59. Mailing List
  60. </A></B></BIG>
  61. </TD></TR>
  62. <TR><TD BGCOLOR="#eeeee0">
  63. uClibc has a
  64. <a href="http://uclibc.org/lists/uclibc/">mailing list</a>.
  65. To subscribe, go and visit
  66. <a href="http://uclibc.org/mailman/listinfo/uclibc">this page</a>.
  67. <p>
  68. <!-- Begin Applications section -->
  69. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  70. <A NAME="applications"><BIG><B>
  71. Known Working Applications List
  72. </A></B></BIG>
  73. </TD></TR>
  74. <TR><TD BGCOLOR="#eeeee0">
  75. uClibc now has a <a href="http://uclibc.org/uClibc-apps.html">list of applications</a>
  76. that are known to work. Submissions are welcome!
  77. Since most applications work just fine with uClibc, we are especially
  78. interested in knowing about any applications that either do not compile
  79. or do not work properly with uClibc.
  80. <!-- Begin Applications section -->
  81. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  82. <A NAME="faq"><BIG><B>
  83. Frequently Asked Questions
  84. </A></B></BIG>
  85. </TD></TR>
  86. <TR><TD BGCOLOR="#eeeee0">
  87. uClibc now has a <a href="http://uclibc.org/FAQ.html">list of Frequently Asked Questions</a>.
  88. You might want to take a look.
  89. <!-- Begin Download section -->
  90. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  91. <A NAME="download"><BIG><B>
  92. Download
  93. </A></B></BIG>
  94. </TD></TR>
  95. <TR><TD BGCOLOR="#eeeee0">
  96. <ul>
  97. <li> There is now a script that creates a daily snapshot tarball of uClibc and posts it on
  98. <a href="http://uclibc.org/downloads/uClibc-snapshot.tar.gz">here</a>.
  99. <li> uClibc also has a publically browsable
  100. <a href="http://cvs.uclinux.org/cgi-bin/cvsweb/uClibc/">CVS tree</a> (this CVS tree is also mirrored onto
  101. <a href="http://uclibc.org/cgi-bin/cvsweb/uClibc/">uclibc.org</a> but they are both the same thing).
  102. <li> Anonymous
  103. <a href="http://cvs.uclinux.org/cvs_anon.html">CVS access</a> is available, and
  104. <li> For those that are actively contributing there is even
  105. <a href="http://cvs.uclinux.org/cvs_write.html">CVS write access</a>.
  106. </ul>
  107. <!-- Begin Applications section -->
  108. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  109. <A NAME="contribute"><BIG><B>
  110. Help Support uClibc development
  111. </A></B></BIG>
  112. </TD></TR>
  113. <TR><TD BGCOLOR="#eeeee0">
  114. Do you like uClibc? Do you need support? Do you need some feature
  115. added to uClibc? Then why not help out? We are happy to accept
  116. donations, provide support contracts, and implement funded feature
  117. requests. Additionally, uClibc is looking for corporate sponsors to
  118. assist development, pay for bandwidth, and help with hardware
  119. donations, especially donations of hardware for non-Intel
  120. architectures. Click here to help support uClibc and/or request
  121. features.
  122. <!-- Begin PayPal Logo -->
  123. <center>
  124. <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  125. <input type="hidden" name="cmd" value="_xclick">
  126. <input type="hidden" name="business" value="andersen@codepoet.org">
  127. <input type="hidden" name="item_name" value="Support uClibc and/or request features">
  128. <input type="hidden" name="image_url" value="https://codepoet-consulting.com/images/codepoet.png">
  129. <input type="hidden" name="no_shipping" value="1">
  130. <input type="image" src="images/donate.png" border="0" name="submit" alt="Make donation using PayPal">
  131. </form>
  132. </center>
  133. <!-- End PayPal Logo -->
  134. If you prefer to contact us directly for payments (we have a credit card machine so
  135. you can avoid online payments), hardware donations, support requests, etc., you can
  136. contact <a href="http://codepoet-consulting.com/">CodePoet Consulting</a> here.
  137. <!-- Begin Latest News section -->
  138. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  139. <A NAME="news">
  140. <BIG><B>
  141. Latest News</A>
  142. </B></BIG>
  143. </A>
  144. </TD></TR>
  145. <TR><TD BGCOLOR="#eeeee0">
  146. <ul>
  147. <li> <b>26 November 2001, powerpc shared libraries fully working</b>
  148. <br>
  149. Dave Schleef finished off the the work needed for shared library support on
  150. powerpc. There had been a few problems remaining, and those are now squashed.
  151. So shared libs on powerpc should be working fully now.
  152. <p>
  153. <li> <b>14 November 2001, m68 compiles again, Large file support working</b>
  154. <br>
  155. About a month ago I synced the header files with glibc 2.2.4 for better
  156. C++ support and better standards compliance. I forgot to sync up m68k,
  157. sparc, powerpc, and mipsel. Dave Schleef fixed powerpc while he was fixing
  158. up the shared lib loader. I just fixed up m68k, sparc, and mipsel so they
  159. should all compile again.
  160. <p>
  161. I also finished up fixing large file support (just enable DOLFS in your
  162. Config file to enable it) and it is working just great, and greatly increases
  163. the number of glibc applications that will work "out-of-the-tarball" without
  164. needing any changes.
  165. <li> <b>12 November 2001, powerpc shared lib support</b>
  166. <br>
  167. Thanks to David Schleef, uClibc now has full shared library support
  168. on powerpc. This brings full shared library support to x86, ARM, and
  169. now powerpc. Thanks Dave!
  170. <p>
  171. <li> <b>7 November 2001, uClibc application list</b>
  172. <br>
  173. uClibc now has a <a href="http://uclibc.org/uClibc-apps.html">list of applications</a>
  174. that are known to work. If you have any applications to add to the
  175. list, submissions are welcome!
  176. <p>
  177. <li> <b>18 October 2001, buildroot uClibc example system</b>
  178. <br>
  179. Those wanting an easy way to test out uClibc and give it
  180. a test drive can download and compile
  181. <a href="ftp://uclibc.org/buildroot.tar.gz">buildroot.tar.gz</a>. This
  182. is a nifty buildsystem that will automagically download and build
  183. a <a href="http://user-mode-linux.sourceforge.net/">User-Mode Linux</a>
  184. kernel, and will then download source for and compile up a fully
  185. working uClibc based root filesystem. This should make it easy for
  186. people to create their own projects. I hope that this build system
  187. will allow people to more easily use and build uClibc based systems.
  188. As an example of how nicely this works, the
  189. <a href="http://tuxscreen.net/">Tuxscreen Project</a> is using a
  190. <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/tuxscreen/buildroot-tux/">slightly adjusted variant of the buildroot system</a> to cross
  191. compile the blob bootloader, linux kernel, and a uClibc based jffs2
  192. root filesystem (busybox, tinylogin, udhcp, lrzsz, pcmcia-cs and
  193. microwindows) for ARM. Pretty cool.
  194. <p>
  195. <li> <b>11 October 2001, v850 architecture support</b>
  196. <br>
  197. Miles Bader has contributed support for the v850 architecture.
  198. <p>
  199. <li> <b>25 Spetember 2001, header files updated</b>
  200. <br>
  201. uClibc's header files are now in sync with glibc 2.2.4,
  202. allowing better standards compliance, better portibility, and
  203. better C++ support.
  204. <p>
  205. <li> <b>4 July 2001, ARM shared library support</b>
  206. <br>
  207. uClibc now has full shared library support on ARM.
  208. <p>
  209. <li> <b>9 May 2001, libm added</b>
  210. <br>
  211. uClibc now has a very complete math library.
  212. <p>
  213. <p> <li> <b>9 May 2001, ld.so added</b>
  214. <br>
  215. uClibc now has a native ld.so. It currently is only ported to work on x86,
  216. but porting to other architectures should not be too difficult.
  217. <p> <li> <b>15 March 2001, powerpc port added</b>
  218. <br>
  219. David Schleef contributed a powerpc port, which is now in CVS.
  220. <p> <li> <b>19 February 2001, SH port added</b>
  221. <br>
  222. Jean-Yves Avenard contributed an SH port. See his email
  223. with the initial patch <a href="http://uclibc.org/lists/uclibc/2001-February/000409.html">here</a>.
  224. <p> <li> <b>16 January 2001, uClibc as a shared library</b>
  225. <br>
  226. As if January 16, uClibc can now be used (at least on x86) as a shared
  227. library. See the <a href="http://uclibc.org/lists/uclibc/2001-January/000126.html">email</a>
  228. announcing this achievement.
  229. <p> <li> <b>11 January 2001, gcc wrapper added</b>
  230. <br>
  231. Manuel Novoa III has created a wrapper for gcc that makes compiling apps vs uClibc
  232. as simple as just setting "CC" to gcc-uClibc-&lt arch&gt. This even works when cross
  233. compiling! Very cool.
  234. <p> <li> <b>3 January 2001, uClibc now has a web page</b>
  235. <br>
  236. A lot of work has been going on under the hood with uClibc,
  237. so I decided to put together this webpage to let the world know
  238. that it exists and is getting to be very usable.
  239. </ul>
  240. <!-- Begin TODO section -->
  241. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  242. <A NAME="todo"><BIG><B>
  243. TODO
  244. </A></B></BIG>
  245. </TD></TR>
  246. <TR><TD BGCOLOR="#eeeee0">
  247. Here are a few things on the TODO list:
  248. <ul>
  249. <li> Shared library support for all supported architectures.
  250. We now have our own ld.so, but it needs to be ported to
  251. support each architecture.
  252. <li> Shared library support for mmu-less systems. This is
  253. very doable (think of C++ vtables for example), but will
  254. take some work.
  255. <li> Someone (hopefully) needs to volunteer to take the
  256. <a href="http://www.linuxbase.org/test/">LSB Test Suite</a>,
  257. pull out the C library testing stuff, and convert it
  258. (perl script, by hand, I don't care how) into a form
  259. that is usable without having it take over your entire
  260. system (i.e. similar to what is currently in the uClibc
  261. test suite). This will be <em>enormously</em> helpful!
  262. <li> other things as I think of them.
  263. </ul>
  264. <!-- Begin Links section -->
  265. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  266. <A NAME="links">
  267. <BIG><B>
  268. Other Open Source C libraries:
  269. </A>
  270. </B></BIG>
  271. </A>
  272. </TD></TR>
  273. <TR><TD BGCOLOR="#eeeee0">
  274. <ul>
  275. <li><a href="http://www.gnu.org/software/libc/libc.html">GNU C Library (aka glibc)</a>
  276. <li> <a href="http://www.k9wk.com/cdoc.html">Al's FREE C Runtime Library</a>
  277. <li><a href="http://www.fefe.de/dietlibc/">diet libc </a>
  278. <li>the <a href="http://www.cs.vu.nl/~ast/minix.html">minix</a>
  279. <a href="http://www.cs.vu.nl/cgi-bin/raw/pub/minix/2.0.0/src.tar"
  280. >C library</a>
  281. <li> <a href="http://sources.redhat.com/newlib/">newlib</a>
  282. <li>and there is a
  283. <a href="ftp://sourceware.cygnus.com/pub/ecos/">C library</a>, for
  284. <a href="http://sources.redhat.com/ecos/">eCos</a> as well.
  285. <ul>
  286. <!-- Begin Links section -->
  287. <TR><TD BGCOLOR="#ccccc0" ALIGN=center>
  288. <A NAME="links">
  289. <BIG><B>
  290. Links to other useful stuff
  291. </A>
  292. </B></BIG>
  293. </A>
  294. </TD></TR>
  295. <TR><TD BGCOLOR="#eeeee0">
  296. <ul>
  297. <li> <a href="http://www.uclinux.org/">The uClinux home page</a>.
  298. <p>
  299. <li> <a href="http://cvs.uclinux.org/">The uClinux CVS reporitory</a>.
  300. <p>
  301. <li> <a href="http://uclibc.org/">The uClibc home page</a>.
  302. <p>
  303. <li> <a href="http://busybox.net/">BusyBox</a>.
  304. <p>
  305. <li> <a href="http://codepoet-consulting.com/">CodePoet Consulting</a>.
  306. <p>
  307. </ul>
  308. <!-- End of Table -->
  309. </TD></TR>
  310. </TABLE>
  311. </P>
  312. <!-- Footer -->
  313. <HR>
  314. <TABLE WIDTH="100%">
  315. <TR>
  316. <TD>
  317. <font size="-1" face="arial, helvetica, sans-serif">
  318. Mail all comments, insults, suggestions and bribes to
  319. <a href="mailto:andersen@codepoet.org">Erik Andersen</a><BR>
  320. </font>
  321. </TD>
  322. <TD>
  323. <a href="http://www.vim.org"><img border=0 width=90 height=36
  324. src="images/written.in.vi.png"
  325. alt="This site created with the vi editor"></a>
  326. </TD>
  327. <TD>
  328. <a href="http://www.gimp.org/"><img border=0 width=90 height=36
  329. src="images/gfx_by_gimp.png" alt="Graphics by GIMP"></a>
  330. </TD>
  331. <TD>
  332. <a href="http://www.linuxtoday.com"><img width=90 height=36
  333. src="images/ltbutton2.png" alt="Linux Today"></a>
  334. </TD>
  335. <TD>
  336. <p><a href="http://slashdot.org"><img width=90 height=36
  337. src="images/sdsmall.png" alt="Slashdot"></a>
  338. </TD>
  339. <TD>
  340. <a href="http://freshmeat.net"><img width=90 height=36
  341. src="images/fm.mini.png" alt="Freshmeat"></a>
  342. </TD>
  343. </TR>
  344. </TABLE>
  345. </CENTER>
  346. </BODY>
  347. </HTML>