bort is a cross-platform Small-C language cross compiler for RISC-V architecture.
- switch
- compound variable declaration (
int a = 5, b, c = d;) - testing
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 buildTo build bort with tests use cmake -S . -B build -DBORT_BUILD_TESTS=ON as configuration command (requires python3 to be installed).
After building, you can find binaries directly in build directory. You can start with:
./build/bort -hTo explore available command line options.