[maemo-developers] SBOX_CPU=arm, not armel?

From: Patrick Ohly Patrick.Ohly at gmx.de
Date: Mon Mar 19 23:48:07 EET 2007

I am using Debian testing (more or less up-to-date), scratchbox 1.0.7,
cs2005q3.2-glibc-arm 1.0.5 and both the
Maemo_Dev_Platform_v2.0_armel-rootstrap.tgz and

My problem is that after setting up a new ARM target via sb-menu and
selecting it, "uname -a" says that my architecture is "arm", not
"armel". "arm" is also the value of
SBOX_UNAME_MACHINE/SBOX_DPKG_INST_ARCH in my environment and the setting
of SBOX_CPU in the target's .config file.

I wonder whether I created the target correctly, because apt-get refuses
to install "armel" packages (I
have /scratchbox/devkits/debian/bin/apt-get in my PATH, which was
compiled for i386 and thus searches for that architecture; as a
workaround I can add APT { Architecture "armel"} to its config) and
worse, a package I created is for "arm" and thus does not install on the

How does scratchbox determine which flavor of ARM I want to emulate?
Where do I need to look for an installation mistake?

When I create a target and install the "cputrans" devkit, then I can
select multiple versions of qemu-arm, including versions 0.7.0, 0.8.0,
and arm-0.8.1-sb2 and armeb-0.8.1-sb2. Which one is the right one, if

Bye, Patrick Ohly
Patrick.Ohly at gmx.de

More information about the maemo-developers mailing list