feeble attempt at build instructions
This commit is contained in:
parent
061e3be6f8
commit
e6addf25bb
12
README
12
README
|
@ -31,7 +31,7 @@ Toomey, Stephen Tu, Pablo Ventura, Xi Wang, Keiichi Watanabe, Nicolas
|
||||||
Wolovick, wxdao, Grant Wu, Jindong Zhang, Icenowy Zheng, and Zou Chang Wei.
|
Wolovick, wxdao, Grant Wu, Jindong Zhang, Icenowy Zheng, and Zou Chang Wei.
|
||||||
|
|
||||||
The code in the files that constitute xv6 is
|
The code in the files that constitute xv6 is
|
||||||
Copyright 2006-2018 Frans Kaashoek, Robert Morris, and Russ Cox.
|
Copyright 2006-2019 Frans Kaashoek, Robert Morris, and Russ Cox.
|
||||||
|
|
||||||
ERROR REPORTS
|
ERROR REPORTS
|
||||||
|
|
||||||
|
@ -42,9 +42,7 @@ simplifications and clarifications than new features.
|
||||||
|
|
||||||
BUILDING AND RUNNING XV6
|
BUILDING AND RUNNING XV6
|
||||||
|
|
||||||
To build xv6 on an x86 ELF machine (like Linux or FreeBSD), run
|
You will need a RISC-V "newlib" tool chain from
|
||||||
"make". On non-x86 or non-ELF machines (like OS X, even on x86), you
|
https://github.com/riscv/riscv-gnu-toolchain, and qemu compiled for
|
||||||
will need to install a cross-compiler gcc suite capable of producing
|
riscv64-softmmu. Once they are installed, and in your shell
|
||||||
x86 ELF binaries (see https://pdos.csail.mit.edu/6.828/).
|
search path, you can run "make qemu".
|
||||||
Then run "make TOOLPREFIX=i386-jos-elf-". Now install the QEMU PC
|
|
||||||
simulator and run "make qemu".
|
|
||||||
|
|
Loading…
Reference in a new issue