An open API service indexing awesome lists of open source software.

https://github.com/diohabara/rcc

RISC-V C Compiler
https://github.com/diohabara/rcc

c compiler risc-v

Last synced: over 1 year ago
JSON representation

RISC-V C Compiler

Awesome Lists containing this project

README

          

# rcc

RISC-V C compiler

## How to set up

For macOS

```bash
brew tap riscv-software-src/riscv
brew install riscv-tools
```

## How to run it

```bash
riscv64-unknown-elf-gcc -c hello.s -o hello.o
riscv64-unknown-elf-gcc hello.o -o hello
spike pk hello
```