8000 GitHub - niten01/bort: Small-C to RISC-V cross compiler
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

niten01/bort

Repository files navigation

bort

bort is a cross-platform Small-C language cross compiler for RISC-V architecture.

Global TODOs

  • switch
  • compound variable declaration (int a = 5, b, c = d;)
  • testing

Build

bort uses CMake build system, so building pipeline is pretty standard. All dependencies are downloaded during CMake configuration via FetchContent (~1G by now).

git clone https://github.com/Lolitron-0/bort
cd bort
cmake -S . -B build
сmake --build build

To build bort with tests use cmake -S . -B build -DBORT_BUILD_TESTS=ON as configuration command (requires python3 to be installed).

Usage

After building, you can find binaries directly in build directory. You can start with:

./build/bort -h

To explore available command line options.

About

Small-C to RISC-V cross compiler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0