diet libc - a libc optimized for small size

来源:互联网 发布:淘宝多长时间确认收货 编辑:程序博客网 时间:2024/05/16 01:51

http://www.fefe.de/dietlibc/

 

-------------------

 

What is it?

The diet libc is a libc that is optimized for small size. It can be used to create small statically linked binaries for Linux on alpha, arm, hppa, ia64, i386, mips, s390, sparc, sparc64, ppc and x86_64. This repository contains several ready-to-use binaries that were linked against the diet libc.

The latest version is always available via anonymous CVS (which is the recommended way to get the sources):

$ cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co dietlibc

There is a mailing list for the diet libc. You can subscribe by sending an empty email to dietlibc-subscribe@fefe.de; it is run by ezmlm. There is an archive of precompiled binaries at foobar.math.fu-berlin.de. Please read the FAQ if you have any questions.

The diet libc would not be possible without the many many contributors. To acknowledge their work, I created this scoreboard.

 

Recent News

[20070824] dietlibc-0.31 [GPG sig] (diff from 0.30 [GPG sig]) has been released. Here are the changes.

 

 

See also

 

  1. DietLinux! A boot floppy based on the diet libc (see also this directory
  2. Fabrice Bellard's Tiny C Compiler. You can't compile the diet libc with it.
  3. Olaf's patches
  4. the libdjb project and the libowfat project
  5. ugrep by Jens Lass, a mini grep of 11k!
  6. small utils (dd, cat, touch, cp, rm and mv using diet libc, no bloat, no features except the bare minimum ;-})
  7. The ELKS project's libc is very lean, too.
  8. shi-sh, a small shell using libowfat and dietlibc (link broken)
  9. LZMA utils in C (the regular ones are in C++ and thus do not work with dietlibc)
  10. fgetty, a very small getty
  11. fget, a very small http/ftp fetcher
  12. my ncp rewrite using libdjb. This is my first program using libdjb and it was the testing ground for dietlibc.
  13. my embedded utils project, a collection of popular class utilities like mkdir and echo, targeted specifically at diet libc and small size.
  14. A small sed for diet libc.
  15. The heirloom project aims to port the original Unix userland to modern Unixes. Very cool project, although it only works partially with the diet libc until I finally add wide char routines.
  16. uclibc.org hosts another open source project called "uClibc" that seems to be quite close to dietlibc.
  17. trio. trio aims to be a portable and complete scanf and printf implementation. If the diet libc implementation misses a feature that you need, you might want to look at trio.
  18. www.linuxassembly.org is also interested in small programs, but they are limiting themselves to x86.
  19. libsys by Rick Hohensee.
  20. The PowerPC EMbedded Systems HOWTO and the Linux Assembly HOWTO may both be relevant.
  21. The e3 editor is an impressively small editor. It has an x86 assembly version and a C version that works just fine with the diet libc.
  22. dnetc linux is a floppy linux using the diet libc.
  23. Pauls Boot CD uses the diet libc for linuxrc.
  24. sw-ports links many packages with the diet libc.
  25. fdlibm, a free math library
  26. xyssl, a small ssl library (client-side only, ~100k, APIs not openssl compatible)
原创粉丝点击