Software/sbox2

Scratchbox 2

Target Distribution Instructions

Maemo SDK+

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 Debian/sid. 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.

NEVER USE SB2 AS ROOT

Because SB2 makes potentially highly confusing things with paths, you just cannot ever be 100% sure that your real system files are not modified in ways that may be impossible to recover from if you're using it as root.

Read the README for installation instructions.

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

Contact

Mailing lists:

There's also #scratchbox IRC channel on freenode.

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.