On 3/14/07, Laurent GUERBY <[EMAIL PROTECTED]> 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:

[EMAIL PROTECTED]:~/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] [EMAIL PROTECTED] ~/work/maemo $ cd tmp
[SB2] [EMAIL PROTECTED] ~/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

[EMAIL PROTECTED]:~/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
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to