如何只编译qemu arm,请参考下面的操作步骤。
如何只编译qemu arm,请参考下面的操作步骤。
How to build qemu-system-arm in Linux
Most (all?) Linux distributions have a binary package for qemu-system (including qemu-system-arm) in order to emulate non-x86 targets such as ARM, MIPS, PPC, Alpha and more.
However, in some case you may need to very latest version of qemu-system and it may not be able yet for your distribution.
Here’s how to do to build qemu-system-arm without building all qemu-system-***:
Download the latest stable version of qemu (qemu 1.0.1 at the time this post was written):
wget http://wiki.qemu.org/download/qemu-1.0.1.tar.gz
or get the latest source code (development tree) which has the very latest features and bug fixes, but may not work or compile:
git clone git://git.qemu.org/qemu.git
or get the latest source code from linaro (which may be more up-to-date for ARM targets):
git clone git://git.linaro.org/qemu/qemu-linaro.git
Configure qemu to build ARM targets:
cd qemu
./configure --target-list=arm-softmmu,arm-linux-user
Build and install qemu-system-arm:
make -j 2
sudo make install
Verify the latest version of qemu-ssytem-arm is installed:
# qemu-system-arm --version
QEMU emulator version 1.0,1, Copyright (c) 2003-2008 Fabrice Bellard
内容引自 https://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律