Skip to content

mbrukman/c-stdlib

Repository files navigation

C standard library

Linux build status macOS build status

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.

References

Build & test

Linux

  1. Install Clang; the LLVM project provides APT repos for easy installation on Debian and Ubuntu.
  2. Install Ninja.
  3. Build libc and run tests via: ninja -f linux.ninja test

macOS

  1. Install Xcode and accept the license agreement.

  2. 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.

  3. Install Ninja.

  4. Build libc and run tests via: ninja -f macos.ninja test

Contributing

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!

License

Apache 2.0; see LICENSE for details.

Disclaimer

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.

About

C standard library (work in progress)

Topics

Resources

License

Stars

Watchers

Forks