riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

how can I compile c code instead of doing cross compiling for riscv #266

Open PriyankaR611 opened 5 years ago

jim-wilson commented 5 years ago

You can boot linux on qemu, and then you can do development natively. There are a number of supported linux distros, debian, fedora, opensuse, openembedded, etc. I like to use fedora. https://fedoraproject.org/wiki/Architectures/RISC-V/Installing