This project aims to implement the C standard library.
Note: This library is a work-in-progress and is not intended for production use. If you are looking for a C standard library for use in production, there are plenty of options to choose from.
- Install Clang; the LLVM project provides APT repos for easy installation on Debian and Ubuntu.
- Install Ninja.
- Build libc and run tests via:
ninja -f linux.ninja test
-
Install Xcode and accept the license agreement.
-
Create a symlink in this directory pointing to the Xcode app in your
Applications
folder, e.g.:$ ln -s /Applications/Xcode_12.5.app Xcode
See the comment in
macos.ninja
for details and rationale. -
Install Ninja.
-
Build libc and run tests via:
ninja -f macos.ninja test
This project is a personal learning project; as such, I am not looking to accept contributions at this time. If you see something wrong or would like to propose an improvement, please file an issue and let me know. Thanks!
Apache 2.0; see LICENSE
for details.
This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.