[maemo-developers] sbox2 update

From: Laurent GUERBY laurent at guerby.net
Date: Wed Mar 14 13:50:20 EET 2007
On Wed, 2007-03-14 at 01:23 +0200, Daniel Stone wrote:
> On Tue, Mar 13, 2007 at 11:24:01PM +0100, ext Laurent GUERBY wrote:
> > The exe is present in arm-lltc/bin
> > 
> > guerby at pc2:~/work/maemo$ ls -l /home/guerby/work/maemo/arm-lltc/bin/arm-none-linux-gnueabi-gcc
> > -rwxr-xr-x 2 guerby guerby 128352 2007-03-11 17:18 /home/guerby/work/maemo/arm-lltc/bin/arm-none-linux-gnueabi-gcc
> > 
> > Any idea why it is not looking in arm-lltc/bin/ , ie what I could have
> > screwed up? :)
> > 
> > in buildroot/sb2.config I have:
> > SBOX_CROSS_GCC_DIR=/home/guerby/work/maemo/arm-lltc
> 
> You have to append the /bin here; the name is a bit misleading.

Thanks, this worked (I reinstalled everything from scratch to be safe):

[SB2] guerby at pc2 ~/work/maemo/tmp $ ./hello 
Hello, world!
[SB2] guerby at pc2 ~/work/maemo/tmp $ file ./hello
./hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux
2.4.17, dynamically linked (uses shared libs), not stripped

scratchbox/bin/sb2-build-libtool also worked without error

Is there any package where a rebuild should work out of the box?
(and what is the exact rebuild command line :)

Thanks in advance,

Laurent


More information about the maemo-developers mailing list