Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 940 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 940 Bytes

leros-lib

C Standard Library and runtime routines for the Leros project

Todo:

  • Port a C Standard Library to Leros (Newlib is an obvious candidate)
  • Modify startup routines (crt0.leros.c) for initializing the C Standard Library
  • Add C++ requirements to runtime files, such as support for global constructors

C Standard Library

Current support:

Benchmarks

Coremark

To build coremark, execute:
./build_coremark.sh ${path-to-leros-llvm/bin}
This will yield an executable benchmarks/coremark/coremark.bin. The benchmark can be executed through:
./leros-sim -f ${path-to-coremark.bin}