[maemo-developers] Install/Run Issues With Scratchbox

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed Aug 6 15:29:56 EEST 2008
Hi,

ext Dr. Nicholas Shaw wrote:
> There are the packages (Chinook) that I installed  (note there doesn't
> appear to be a compiler):
...
> .         scratchbox-toolchain-cs2005q3.2-glibc2.5-arm 1.0.7.2
> .         scratchbox-toolchain-cs2005q3.2-glibc2.5-i386 1.0.7

These are compilers for arm and x86 scratchbox targets.

Arm version is a cross-compiler and x86 compiler just is built
so that the binaries built against it link to /lib & /usr/lib[1].

[1] unlike binaries built with host-gcc toolchain which links libraries
     from directories that are available for targets regardless of
     whether they are ARM or x86.  Host-gcc is intended for building
     your own build tools in case ARM ones are too slow.  Host-gcc
     built binaries should be installed under /host_usr/ directory
     that doesn't change when switching scratchbox target with the
     sb-conf command.


[...]
> Ok, so manual install doesn't appear to have worked so I once again tried
> the install script.  BTW, I'm running Debian 4R3 and I installed gcc/g++
> afterwards and I tested it by compiling a program and it works.

The scratchbox-toolchain packages contain both gcc & g++.

If you install native (arm) compiler toolchain to your ARM scratchbox
target instead of using scratchbox-toolchain cross-compiler, your
source builds will be much slower.


	- Eero

More information about the maemo-developers mailing list