Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Newlib

From Wikipedia, the free encyclopedia
Implementation of the C standard library for embedded systems
Newlib
Original authorCygnus Support
DeveloperRed Hat
Stable release
4.6.0 / January 23, 2026; 27 days ago (2026-01-23)[1]
Operating systemCross-platform[citation needed]
TypeRuntime library
LicenseVarious MIT/BSD-like licenses
Websitewww.sourceware.org/newlib/
Repository

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

It was created byCygnus Support as part of building the first GNU cross-development toolchains. It is now maintained byRed Hat developers Jeff Johnston and Corinna Vinschen, and is used in most commercial and non-commercialGCC ports for non-Linux embedded systems.

System calls

[edit]

The section System Calls[2] of the Newlib documentation describes how it can be used with manyoperating systems. Its primary use is on embedded systems that lack any kind of operating system; in that case it calls aboard 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

[edit]

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 asARM andRenesas. It is used as the standard C library inCygwin, as well as being one standard C library among several forAmigaOS 4.

As of 2004[update], KallistiOS, an independentSDK targeting theSega Dreamcast, has used Newlib as its standard C library, shipping it withmany commercial titles on the platform.[3]

As of 2007[update], devkitARM and devkitPPC, toolchains targeted athomebrew development for commercial game systems, include Newlib as their C library. The Open-R SDK forSony AIBO is also based on Newlib on top of the non-Unix Aperios.

As of 2013[update], Google Native Client SDK (NaCl) includes Newlib as the default C library overglibc.[4]

In 2019,Keith Packard releasedPicolibc,[5] a library offering standard C library APIs that targets small embedded systems with limited RAM, based on blending code from Newlib andAVR Libc.

See also

[edit]
OtherC standard libraries

References

[edit]
  1. ^"Newlib releases".
  2. ^System Calls, The Red Hat newlib C Library
  3. ^"KallistiOS SourceForge Repository". Retrieved9 January 2024.
  4. ^"Native Client: Getting Started Tutorial". Archived fromthe original on 12 March 2013. Retrieved16 February 2013.
  5. ^Picolibc: C Libraries for Smaller Embedded Systems

Further reading

[edit]

External links

[edit]
Features
Standard library
Implementations
Compilers
IDEs
Comparison with
other languages
Descendant
languages
Designer
Retrieved from "https://en.wikipedia.org/w/index.php?title=Newlib&oldid=1334770191"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp