Newlib

Newlib
Newlib
Developer(s) Red Hat
Stable release 1.19.0 / December 16, 2010; 10 months ago (2010-12-16)
Operating system Cross-platform
Type C standard library on embedded systems
Website http://www.sourceware.org/newlib/

Newlib is a C standard library implementation intended for use on embedded systems. It is a conglomeration of several library parts, all under free software licenses that make them easily usable on embedded products.

It was created by Cygnus Support as part of building the first GNU cross-development toolchains. It is now maintained by Red Hat developer Jeff Johnston, and used in most commercial and non-commercial GCC ports for non-Linux embedded systems.

Contents

System Calls

The section System Calls of the newlib documentation describes how it can be used with many operating systems. Its primary use is on embedded systems that lack any kind of operating system; in that case it calls a board support package that can do things like write a byte of output on a serial port, or read a sector from a disk or other memory device.

Inclusion

Newlib is included in commercial GCC distributions by Atollic, CodeSourcery, Code Red, KPIT, Red Hat and others, and receives support from major embedded-processor architecture vendors such as ARM and Renesas. As of 2007, devkitARM, a popular toolchain for programming homebrew software for Nintendo DS, Game Boy Advance systems and the standard PlayStation Portable homebrew SDK include Newlib as their C library, as well as devkitPPC, a popular Wii and GameCube homebrew development platform.

Newlib is also used as the standard C library in Cygwin, as well as being one standard C library among several for AmigaOS version 4.

References

External links