Browse Source

Merge pull request #11 from arunthomas/readme

README: use gnu-toolchain
hwachav4
Andrew Waterman 12 years ago
parent
commit
327a66f990
  1. 4
      README.md

4
README.md

@ -28,12 +28,12 @@ install path, and that the riscv-fesvr package is installed there.
Compiling and Running a Simple C Program Compiling and Running a Simple C Program
------------------------------------------- -------------------------------------------
Install spike (see Build Steps), riscv-gcc, and riscv-pk. Install spike (see Build Steps), riscv-gnu-toolchain, and riscv-pk.
Write a short C program and name it hello.c. Then, compile it into a RISC-V Write a short C program and name it hello.c. Then, compile it into a RISC-V
ELF binary named hello: ELF binary named hello:
$ riscv-gcc -o hello hello.c $ riscv64-unknown-elf-gcc -o hello hello.c
Now you can simulate the program atop the proxy kernel: Now you can simulate the program atop the proxy kernel:

Loading…
Cancel
Save