在macbook OSX High Sierra上启动xv6(10.13.3)

时间:2018-04-17 00:44:10

标签: gcc macos-high-sierra i386 xv6

我按照帖子here最受欢迎的回答中的说明进行操作

make TOOLCHAIN=i386-elf- qemu

它拒绝运行给我以下错误......

***
*** Error: Couldn't find an i386-*-elf version of GCC/binutils.
*** Is the directory with i386-jos-elf-gcc in your PATH?
*** If your i386-*-elf toolchain is installed with a command
*** prefix other than 'i386-jos-elf-', set your TOOLPREFIX
*** environment variable to that prefix and run 'make' again.
*** To turn off this error, run 'gmake TOOLPREFIX= ...'.
***
gcc -m32 -gdwarf-2 -Wa,-divide   -c -o usys.o usys.S
clang: error: unsupported argument '-divide' to option 'Wa,'
make: *** [usys.o] Error 1

我不确定如何解决这个问题,并且不确定在链接帖子的答案中找到该人所引用的texinfo的位置。我也不确定i386在哪里安装。我知道我从命令行指令中省略了-nox命令,但我也试过了。我们已经为xv6设置了一个正常工作的窗口管理器,我希望能够在我的机器上运行它,但无法让它工作。

感谢您的帮助!

0 个答案:

没有答案
相关问题