Build QEMU

Introduction

This article contains instruction about how to build qemu for ARM platform.

http://wiki.openmoko.org/wiki/OpenMoko_under_QEMU


Step 1: Install gcc-3.4 and libSDL-dev


The compilation of QEMU requires gcc 3.x and libSDL. Please use the following commands to install them.

# sudo apt-get install gcc-3.4 libSDL-dev

Step 2: Acquire the source code

Get the source code from the openmoko project.

# svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973


Step 3: configure and compile it


#  ./configure --target-list=arm-softmmu --cc=gcc-3.4
#  make


The QEMU will be available in arm-softmmu/qemu-system-arm.




Comments