[maemo-developers] sbox2 update
From: Lauri Leukkunen lle at rahina.orgDate: Wed Mar 14 00:32:26 EET 2007
- Previous message: sbox2 update
- Next message: sbox2 update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 3/14/07, Laurent GUERBY <laurent at guerby.net> wrote: > On Wed, 2007-03-14 at 00:07 +0200, Lauri Leukkunen wrote: > > Oh, and please update your sbox2 first, I fixed some stuff ;) > > Simply git pull from the repo, ./autogen.sh && ./configure etc. etc. > > I did the pull autogen etc... > > Here are the result for the hello.c: > > guerby at pc2:~/work/maemo$ ./scratchbox/bin/sb2 > Running scratchbox with these settings: > SBOX_LIBSB2 = /home/guerby/work/maemo/scratchbox/lib/libsb2.so > SBOX_REDIR_SCRIPTS = /home/guerby/work/maemo/scratchbox/share/scratchbox2/redir_scripts > SBOX_GCCWRAPPER = /home/guerby/work/maemo/scratchbox/bin/sb_gcc_wrapper > REDIR_LD_SO = > REDIR_LD_LIBRARY_PATH = > SBOX_TARGET_ROOT = /home/guerby/work/maemo > [SB2] guerby at pc2 ~/work/maemo $ cd tmp > [SB2] guerby at pc2 ~/work/maemo/tmp $ gcc -o hello hello.c > sb_gcc_wrapper (gcc): /home/guerby/work/maemo/arm-lltc/arm-none-linux-gnueabi-gcc: No such file or directory > > 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? :) What does: file /lib/libc-[someversion].so show? and uname -a? If you try running the toolchain outside sb2, what happens? I'm starting to suspect you may well be on amd64 hw, but your distro is not. If you're actually running 32bit distro, try the 2006q3 toolchain from codesourcery.com: http://www.codesourcery.com/gnu_toolchains/arm/download.html select "arm gnu/linux" and "ia32 gnu/linux" /lauri
- Previous message: sbox2 update
- Next message: sbox2 update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]