Howto compile for N900 without using Madde tools


This howto show how to setup a build enviroment to compile for N900 without using Madde tools.

Install SDK

The first step is to download and install the Madde SDK from here(link does not work anymore).

Build environment

The following environment variables must be set in order to let the compiler know where all neccessary files are:

SDK=Path to SDK installation/Maemo/0.7.48
export PATH=$SDK/targets/fremantle-pr13/bin:$PATH
export SYSROOT_DIR=$SDK/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim
Now you can use gcc, g++ or qmake for cross compiling. Note: During compilations the compiler binary name does not have an architecture prefix.


This work is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License.