How to build Symbian QEMU on Ubuntu Linux
From Symbian Developer Community
These instructions are intended to follow on from How to build the Syborg/QEMU baseport for Symbian^2.0.0 on Ubuntu Linux, but they will work "standalone". They have been verified on Ubuntu 9.04.
Contents |
Install basic build tools
If you have not already done it...
$ sudo apt-get install build-essential
Install Mercurial
If you have not already done it...
$ sudo apt-get install mercurial
On Ubuntu 9.04 or later you may also like to install the Mercurial TortoiseHG gui and nautilus integration:
$ sudo apt-get install mercurial-common
$ sudo apt-get install mercurial-tortoisehg
$ sudo apt-get install nautilus-mercurial-tortoisehg
Get the QEMU sources from Mercurial
If you have already built the syborg baseport as per How to build the Syborg/QEMU baseport for Symbian^2.0.0 on Ubuntu Linux, then:
$ cd ~/syborg/sf
Otherwise create a directory in which to do the build. I assume ~/syborg:
$ mkdir ~/syborg
$ mkdir ~/syborg/sf
Then:
$ mkdir ~/syborg/sf/adaptation
$ cd ~/syborg/sf/adaptation
$ hg clone https://developer.symbian.org/oss/FCL/sf/adaptation/qemu
Install dependencies.
Install libexpat:
$ sudo apt-get install libexpat1
Install zlib:
$ sudo apt-get install zlib1g
Install libpng:
$ sudo apt-get install libpng12-0
Install libsdl and its development files:
$ sudo apt-get install libsdl1.2debian
$ sudo apt-get install libsdl1.2-dev
Install Python development files:
$ sudo apt-get install python-dev
Setup environment for QEMU build
$ export BLDROOT=~/syborg/
$ export PYTHONPATH=$BLDROOT/sf/adaptation/QEMU/symbian-qemu-0.9.1-12/qemu-symbian-svp/plugins
Build QEMU
$ cd $BLDROOT/sf/adaptation/QEMU/symbian-qemu-0.9.1-12/qemu-symbian-svp
Ensure the configure script is executable.
$ chmod +x configure
Configure, make , install. The --prefix will install beneath the build root.
$ ./configure --target-list=arm-softmmu --prefix=$BLDROOT/sf/adaptation/QEMU/symbian-qemu-0.9.1-12
$ make
$ make install
All being well, you will find the QEMU executable, qemu-system-arm, in ~/syborg/sf/adaptation/QEMU/symbian-qemu-0.9.1-12/bin
Comments
Sign in to comment…

