Build QEMU


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

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

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.