Difference between revisions of "Building Orbiter for the Nokia 770"
From LinuxMCE
m |
|||
Line 4: | Line 4: | ||
* a Debian Sarge box to host the build | * a Debian Sarge box to host the build | ||
* the Maemo 1.1 SDK for ARM ( http://repository.maemo.org/stable/1.1/arm/Maemo_Dev_Platform_RS_v1.1_arm.tgz ) | * the Maemo 1.1 SDK for ARM ( http://repository.maemo.org/stable/1.1/arm/Maemo_Dev_Platform_RS_v1.1_arm.tgz ) | ||
− | * Scratchbox 0.9.8.5 (http://www.scratchbox.org/download/files/sbox-releases/0.9.8/deb/ ) | + | * Scratchbox cross-compilation toolkit 0.9.8.5 (http://www.scratchbox.org/download/files/sbox-releases/0.9.8/deb/ ) |
scratchbox-core_0.9.8.5_i386.deb | scratchbox-core_0.9.8.5_i386.deb | ||
scratchbox-devkit-debian_0.9.8.5_i386.deb | scratchbox-devkit-debian_0.9.8.5_i386.deb | ||
Line 12: | Line 12: | ||
scratchbox-toolchain-i686-glibc_0.9.8.5_i386.deb | scratchbox-toolchain-i686-glibc_0.9.8.5_i386.deb | ||
− | + | Preparing the Nokia tablet: | |
+ | # Make sure it is connected to the network - check the Connection manager for a WiFi connection | ||
+ | |||
+ | |||
+ | Preparing the build machine: | ||
# Install Scratchbox debs on the build machine | # Install Scratchbox debs on the build machine | ||
# Add yourself as a Scratchbox user: <tt>/scratchbox/sbin/sbox_adduser username</tt> | # Add yourself as a Scratchbox user: <tt>/scratchbox/sbin/sbox_adduser username</tt> | ||
Line 18: | Line 22: | ||
# Copy or symlink the Maemo SDK into <tt>/scratchbox/packages</tt> | # Copy or symlink the Maemo SDK into <tt>/scratchbox/packages</tt> | ||
# Log in to Scratchbox by typing <tt>scratchbox</tt> | # Log in to Scratchbox by typing <tt>scratchbox</tt> | ||
− | # Configure Scratchbox target: | + | # Configure Scratchbox cross-compile target: |
− | > sbox-config -ct Nokia770 | + | '''>''' sbox-config -ct Nokia770 |
Available compilers: | Available compilers: | ||
Line 39: | Line 43: | ||
Enter list of devkit names (none): debian | Enter list of devkit names (none): debian | ||
+ | # Select the new cross-compile target: <tt>sbox-config -st Nokia770</tt> | ||
+ | # Unpack the Maemo rootstrap: <tt>sbox-config -er /scratchbox/packages/Maemo_Dev_Platform_RS_v1.1_i386.tgz</tt> | ||
+ | # <tt>sbox-config -cc</tt> | ||
+ | # <tt>sbox-config -cf</tt> | ||
# Update the package list inside Scratchbox by typing <tt>apt-get update</tt> | # Update the package list inside Scratchbox by typing <tt>apt-get update</tt> | ||
# Install the following build-time dependencies (with <tt>apt-get install</tt>) | # Install the following build-time dependencies (with <tt>apt-get install</tt>) | ||
Line 44: | Line 52: | ||
#* libid3-dev | #* libid3-dev | ||
#* xlibmesa-gl-dev | #* xlibmesa-gl-dev | ||
+ | # Edit the following Makefiles as follows: | ||
+ | #* | ||
+ | |||
+ | Building Orbiter | ||
+ | # While inside Scratchbox, go into /pluto/trunk/src/SerializeClass and type <tt>make</tt> | ||
+ | # Go into /pluto/trunk/src/PlutoUtils and type <tt>make</tt> | ||
+ | # Go into /pluto/trunk/src/DCE and type <tt>make</tt> | ||
+ | # Go into /pluto/trunk/src/Orbiter and type <tt>make bin</tt> | ||
+ | |||
+ | ==External references== | ||
+ | * http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#settingup |
Revision as of 16:06, 5 June 2006
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto. |
You will need:
- a Debian Sarge box to host the build
- the Maemo 1.1 SDK for ARM ( http://repository.maemo.org/stable/1.1/arm/Maemo_Dev_Platform_RS_v1.1_arm.tgz )
- Scratchbox cross-compilation toolkit 0.9.8.5 (http://www.scratchbox.org/download/files/sbox-releases/0.9.8/deb/ )
scratchbox-core_0.9.8.5_i386.deb scratchbox-devkit-debian_0.9.8.5_i386.deb scratchbox-doctools_0.9.8.5_i386.deb scratchbox-libs_0.9.8.5_i386.deb scratchbox-toolchain-arm-glibc_0.9.8.5_i386.deb scratchbox-toolchain-i686-glibc_0.9.8.5_i386.deb
Preparing the Nokia tablet:
- Make sure it is connected to the network - check the Connection manager for a WiFi connection
Preparing the build machine:
- Install Scratchbox debs on the build machine
- Add yourself as a Scratchbox user: /scratchbox/sbin/sbox_adduser username
- Check out a fresh working copy of Pluto from http://svn.plutohome.com/pluto/trunk/src/ into /scratchbox/users/username/pluto/trunk/src (username is assumed to be your user name on the build machine)
- Copy or symlink the Maemo SDK into /scratchbox/packages
- Log in to Scratchbox by typing scratchbox
- Configure Scratchbox cross-compile target:
> sbox-config -ct Nokia770 Available compilers: 0) arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1 1) host-gcc 2) i686-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1 Enter compiler number: 0 Available CPU-transparency methods: sbrsh qemu-arm qemu-ppc Enter method name (qemu-arm): qemu-arm Available devkits: debian Enter list of devkit names (none): debian
- Select the new cross-compile target: sbox-config -st Nokia770
- Unpack the Maemo rootstrap: sbox-config -er /scratchbox/packages/Maemo_Dev_Platform_RS_v1.1_i386.tgz
- sbox-config -cc
- sbox-config -cf
- Update the package list inside Scratchbox by typing apt-get update
- Install the following build-time dependencies (with apt-get install)
- libmysqlclient12-dev
- libid3-dev
- xlibmesa-gl-dev
- Edit the following Makefiles as follows:
Building Orbiter
- While inside Scratchbox, go into /pluto/trunk/src/SerializeClass and type make
- Go into /pluto/trunk/src/PlutoUtils and type make
- Go into /pluto/trunk/src/DCE and type make
- Go into /pluto/trunk/src/Orbiter and type make bin