projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd8827e
)
README: use gnu-toolchain
author
Arun Thomas
<arun.thomas@gmail.com>
Thu, 11 Dec 2014 16:20:22 +0000
(11:20 -0500)
committer
Arun Thomas
<arun.thomas@baesystems.com>
Thu, 11 Dec 2014 16:20:30 +0000
(11:20 -0500)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index 6f5d0db1f3ab3d8cc85a83d0617252e29d479879..eabd355bb71a31f63466b2297ad198769f0ad5c1 100644
(file)
--- a/
README.md
+++ b/
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-g
cc
, and riscv-pk.
+Install spike (see Build Steps), riscv-g
nu-toolchain
, and riscv-pk.
Write a short C program and name it hello.c. Then, compile it into a RISC-V
ELF binary named hello:
Write a short C program and name it hello.c. Then, compile it into a RISC-V
ELF binary named hello:
- $ riscv-gcc -o hello hello.c
+ $ riscv
64-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: