Exercises, Environment
About scratchbox
Scratchbox is a cross-compilation environement, mainly for ARM development, but not limited to it
Creates virtual file system view for user and target (ARM, X86), by massive amount on symbolic links
For python development cross-compiling is not usually needed, but virtual scratchbox runtime system is needed.
Using scratchbox
two choices:
> newgrp sbox # optional
> /scratchbox/login
[sbox:]> sb-menu
selecting target in Eclipse
* To be able to use the target in Eclipse, it must be selected: Window => Preferences => Esbox => Target
Running Xephyr X server
host> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite
or use Eclipse toolbar (X)
Starting Maemo into Xephyr
[sbox] > af-sb-init.sh start
Stopping Maemo:
[sbox-SDK_ARMEL:] > af-sb-init.sh stop
or control maemo in Eclipse (m)