如何在linux上编译qemu(仅适用于i386)

6 qemu

我从qemu.org下载了tar.gz.现在我如何才能为i386架构编译源代码?

我的意思是,我的qemu无法模拟Power PC,Motorola 68000或其他.

我尝试了这些步骤

./configure
make
make install
Run Code Online (Sandbox Code Playgroud)

但是失败了

No rule to build target 'all'  
Run Code Online (Sandbox Code Playgroud)

除此之外,上述步骤也为所有体系结构编译qemu.

希望得到一些帮助.

小智 9

在Linux机器上下载Qemu源代码并在目录中解压缩然后cd到DIR并执行以下操作:

./configure --disable-kvm [--prefix=PFX] [--target-list="i386-softmmu x86_64-softmmu"]
make
make install
Run Code Online (Sandbox Code Playgroud)