Software/sbox2

Scratchbox 2

Target Distribution Instructions

Maemo SDK+, old instructions are useful for non-debian based hosts.

Introduction

Scratchbox 2 is a cross-compilation engine, it can be used to create a highly flexible SDK.

SB2 is totally distribution neutral. I develop it currently on Fedora 8 using Debian/sid as a build tool distribution. It's known to work at least on Debian, Ubuntu, Gentoo and Fedora. Both x86 and amd64 architectures are supported. PPC host support is possible, but not planned. Mac OS X is a potential platform as well, if you're interested in hacking on that, please contact lle at rahina dot org.

For target systems you can do anything that Qemu or sbrsh supports.

News

License

Scratchbox 2 is distributed under LGPL version 2.1, portions are under GPL version 2. Some minor stuff is under MIT style license.

Source Releases

Tarballs:

Installation

For holistic instructions for a particular target distribution, see the links at the top of this page.

SB2 doesn't need root access and it is highly recommended not to use it as root. Actually, if you use it as root, you're insane.

Read the README file for installation instructions. It contains brief example of setting up SB2 for use with Maemo.

NOTE! If you have problems compiling SB2, please check that your make is new enough, GNU make 3.81 or newer is recommended.

Bugs

Bugs can be reported using bugzilla.

Toolchains

For targeting ARM chips you should probably use CodeSourcery's toolchain.

TODO

Major things missing are:

CPU Transparency Options

Currently SB2 supports Qemu and sbrsh. You need to get a post 2007-06-18 CVS version of Qemu with -drop-ld-preload support.

If you are interested in developing SB2, contact lle at rahina dot org