Filewatcher File Search File Search
Content Search
» » » » »


diet libc documentation - a libc optimized for small size

The diet libc is a C library that is optimized for small size. It can be used to create small statically linked binaries for Linux on alpha, arm, ia64, mips, mipsel, ppc, parisc, s390, sparc and x86.

This package contains the documentation for the diet libc.

The diet libc also supports dynamic linking, currently on the arm and i386 architectures only. The dietlibc package provides the shared libraries.

See for more information.

Package version:0.31-1.2


  The system library is a challenge to all those using the computer to
  write their own faster and better routines or to bow to the superior
  strength and skill of a true master.

diet libc to statically link programs that don't need all the bloat
from glibc.

malloc, printf and scanf contributed from Olaf Dreesen.

To compile:

	$ make


dietlibc for Debian

See /usr/share/doc/dietlibc-doc/README on how to use the diet libc to
compile programs.

Static, and on some architectures shared, libraries are installed in
/usr/lib/diet/lib/.  Include files are installed in /usr/include/diet/,
and additionally available through /usr/lib/diet/include/.  The diet gcc
wrapper is installed in /usr/bin/, and additionally avai


The diet libc is not especially focused on providing a secure
environment, but where it is possible to do something, we try to do it.

  1. WANT_STACKGAP in dietfeatures.h
     This will randomize the stack layout slightly.  The real memory
     cost is about one page of real memory.  The code size increase is
     about 100 bytes, 86 for i386.  The benefit is that buffer overflow
     exploits ar


diet libc FAQ.

Q: How do I compile this?  I don't see a configure?
A: Just type make.

Q: How do 


dietlibc (0.31-1.2) unstable; urgency=medium

  * Non-maintainer upload from the Cambridge BSP.


  getopt_long and getopt_long_only now refuse ambiguous abbreviations
  fix printf %u/%x on 64


 - "locale"
 - real regerror
 - improve code size and quality with __restrict__.
 - FPU exception ha


The malloc code was done by Olaf Dreesen, who also helped with the SPARC
start code and fork().  Ola

Browse inside dietlibc-doc_0.31-1.2_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download dietlibc-doc_0.31-1.2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016