linux – “–target list”在qemu安装中的含义
发布时间:2020-12-14 01:19:40 所属栏目:Linux 来源:网络整理
导读:我是qemu的新手.我有以下问题.我需要使用qemu模拟一些新的指令.基本上我将target-i386修改为target-i386-extended.添加tcg / i386-extended.由于qemu支持许多体系结构,通常我使用以下命令进行配置 ./configure –target-list = i386-softmmu –enable-debug
我是qemu的新手.我有以下问题.我需要使用qemu模拟一些新的指令.基本上我将target-i386修改为target-i386-extended.添加tcg / i386-extended.由于qemu支持许多体系结构,通常我使用以下命令进行配置
./configure –target-list = i386-softmmu –enable-debug 使 make install 如果我们想要模仿新目标,是否需要进行任何更改?如果是这样,在上述情况下需要什么命令? 期待你的回复. 解决方法./configure --help 显示自定义构建和编译的选项. 标准选项: --help print this message --prefix=PREFIX install in PREFIX [/usr/local] --interp-prefix=PREFIX where to find shared libraries,etc.use %M for cpu name [/usr/gnemul/qemu-%M] –target-list = LIST设置目标列表(默认:构建所有内容) 默认情况下,它将为所有目标构建,如x86,x86_64,arm.powerpc等 ./configure –target-list = i386-softmmu 这将只为x86目标构建,即你只能获得qemu-i386二进制文件. 如果你想要手臂目标,那么使用 ./configure –target-list = arm-softmmu,它只为arm构建和编译. 您将获得的qemu-system-arm二进制文件可用于模拟ARM板 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |