2016-01-25 35 views
0

我想學玩具操作系統FreeNOS,它的文檔說使用「scons qemu」來啓動它。但我運行此命令顯示:「scons qemu」錯誤「sh:1:qemu:not found」

scons: Reading SConscript files ... 
Checking for -m32 ... (cached) yes 
Checking for -fno-stack-protector ... (cached) yes 
Checking for -O0 ... (cached) yes 
Checking for -g3 ... (cached) yes 
Checking for -Wall ... (cached) yes 
Checking for -W ... (cached) yes 
Checking for -Wno-unused-parameter ... (cached) yes 
Checking for -fno-builtin ... (cached) yes 
Checking for -nostdinc ... (cached) yes 
Checking for -Wno-write-strings ... (cached) yes 
scons: done reading SConscript files. 
scons: Building targets ... 
qemu -usb -cdrom boot/boot.iso 
sh: 1: qemu: not found 
scons: *** [qemu] Error 127 
scons: building terminated because of errors. 

但我已經安裝了QEMU,當我運行「LS的/ usr/bin中」,這表明: enter image description here

以下是有關的許多項目,但沒有一個被命名爲「QEMU」

,所以我想知道我怎麼能啓動這個OS ..

+0

請檢查'scons qemu-launcher'是否有幫助;我沒有任何經驗,只是猜測。 –

+0

這不是工作,但仍然謝謝你。@ Am_I_Helpful – alexxx

回答

0

你幾乎自己回答你的問題。沒有找到qemu,因爲沒有qemu。

只需創建一個符號鏈接到您想要的目標平臺。看freenos.org x86,mips和arm都支持,所以最有可能的是ln -s qemu-system-i386 qemu應該可以工作。

澄清:所有qemu二進制文件格式爲qemu-system-< arch>或qemu-< arch> [ - static]。 qemu-system- *模擬一個洞系統(例如一個帶有磁盤,網絡和圖形卡的x86電腦),而在qemu-< arch>下,你可以在當前的主機架構上運行一個體繫結構<。

相關問題