[maemo-developers] [maemo-developers] Questions to HOWTO:Set up CPU transparency with your device and sbrsh

From: Eero Tamminen eero.tamminen at movial.fi
Date: Thu Nov 3 09:55:07 EET 2005
Hi,

> how exactly should be the new scratchbox target configured?
> - I've set my new target to sbrsh and the rest the same as described in
> http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#Building-for-ARM
...
> checking whether the C compiler works... configure: error: cannot run C
> compiled programs.If you meant to cross compile, use `--host'.See
> `config.log' for more details.[sbox-ARM: ~/hello-world]
><----------snip------------>I've really used the arm rootstrap not the
>one for i386....

Configure says that your compiler doesn't produce binaries it could
run.  You have chosen sbrsh as the "target CPU emulation" method,
is your ARM CPU transparency device working correctly?

I mean, if you compile code for ARM, can you run it?


In general, qemu is much nicer as it doesn't need any target CPU
device.  You need to use sbrsh method only if qemu target CPU emulation
fails or you're compiling for a CPU architecture which qemu doesn't
emulate.


	- Eero


More information about the maemo-developers mailing list