Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 247 Bytes

Cross-Compilation.md

File metadata and controls

11 lines (10 loc) · 247 Bytes

Use a RISC-V cross-compiler

# risv64-unknown-elf-gcc -o main main.c
risv64-linux-gnu-gcc -o main.o main.c
riscv64-linux-gnu-objdump -d main.o > main.s

Example