Main changes/fixes from previous 0.9.5-pre7.2 release:
Updated glibc to 2.3.2 which fixes ldconfig
sbox-config can install the C-library files into target directory (this is needed when different toolchains use
different C-libraries)
Updated uClibc compiler and a new cross-compilation linker wrapper to fix problems with system library paths
Host-gcc can now compile C++ code (required libraries have to be compiled for Scratchbox, they cannot be copied from
host due to C++ ABI changes between different gcc versions)
SHELL environment variable is /bin/sh instead of /bin/bash (makes gdb work on ARM)
GNU text, file and shell utils are replaced with GNU coreutils package
Libtool and ed utilities are added
Fixes to symbolic links pointing to Scratchbox tools (lex/yacc)
2. Tools in this release
Gcc toolchains and related utilities for ARM and i386 architectures:
gcc-2.95.3 + 40 patches, glibc-2.2.4, binutils-2.12.1 to be used for compiling kernels
gcc-3.2.3, glibc-2.3.2, binutils-2.13.2.1 for non-kernel compilations
X11 compilation sometimes stop without a reason when you're using Gnome-terminal as your terminal emulator.
workaround: Run SDK from xterm terminal emulator (we don't know what is the significant different between
these terminal emulators, but that fixes it). For example to run SDK in a login shell, use this:
$ xterm -ls -e /scratchbox/users/$USER/run.sh &
Rxvt and gnome-terminal 2.2.1 have also been reported not to interrupt X11 compilation (the problem has manifested
with gnome-terminal 2.0.1).
Tip: if you differentiate the SDK terminal from your other terminals with colors, you don't accidentally try to
compile software in a wrong window. To get xterm with scrollbar on the right, 256 line buffer, larger font, black
background with gray text and text effects reversed, add these options: -sb -rightbar -sl 256 -fn 9x15 -bg Black
-fg Gray -rv
Sbrsh (CPU-transparency) daemon on ARM dies sometimes, this should produce following warning:
sbrsh: Can't connect (Connection refused)
workaround: Login to the ARM device and restart sbrshd. Sometimes it's iPAQ that freezes, in that case you
have to boot the iPAQ and restart sbrshd.
/etc/ directories are different in SDK for compilation and on target (because SDK tools need different /etc/ files
from the SW compiled for the target).
workaround: copy required files from /etc/ directory to /targets/[target]/etc/ directory inside the SDK
before running ARM software, or change the software to install and use it's configuration files from /usr/etc/
directory.
On ARM running a program complains about not finding a library that 'ldd' finds for that program, e.g. xterm doesn't
find Xft library. This is related to above problem (/etc/ld.so.cache).
workaround: login to ARM machine (after compiling busybox, so that you have shell there) and run 'ldconfig'
there before running the program, for example: