~/qemu_proj$ tar jxvf qemu-2.2.1.tar.bz2 ~/qemu_proj$ tar zxvf arm-test-0.2.tar.gz
~/qemu_proj$ mkdir install ~/qemu_proj$ mkdir build
~/qemu_proj$ cd build ~/qemu_proj/build$ sudo apt-get install libz-dev ~/qemu_proj/build$ sudo apt-get install libglib2.0-dev ~/qemu_proj/build$ ../qemu-2.2.1/configure --target-list=arm-softmmu --prefix={$qemu_proj_path}/install
~/qemu_proj/build$ sudo apt-get install autoconf automake libtool ~/qemu_proj/build$ make -j4 ... ... ~/qemu_proj/build$ make install ... ...
如果是使用 Bash Shell,可以將此行加到 ~/.bashrc
export PATH={$qemu_proj_path}/install/bin:$PATH
~/qemu_proj/$ cd arm-test ~/qemu_proj/arm-test$ qemu-system-arm -machine integratorcp -kernel zImage.integrator -initrd arm_root.img -nographic -append "console=ttyAMA0"