Hello,
I am trying to add a prebuilt toolchain for arm into scratchbox and am
having some problems while doing that. I read through the relevant
wiki at: http://www.scratchbox.org/wiki/ForeignToolchains
and the Scratchbox Toolchains document.
Following the instructions for adding a Foreign Toolchain I have
created my toolchain under the /scratchbox/compilers directory in a
directory called "my-toolchain". The cross build tools are located in
the mytoolchain/bin directory. In this directory I've created symlinks
from all arm-linux-xxx tools to sbox-arm-linux-xxx.
Within scratchbox I can add and select my-toolchain, however when I
try to execute any cross build command I get an error similar to the
one pasted below:

[sbox-another-test: ~] > gcc
sbox-arm-linux-gcc: No such file or directory
[sbox-another-test: ~] > which gcc
/scratchbox/compilers/bin/gcc

The wiki entry on ForeignToolChains does talk about this problem
indicating that this is a problem with the alien toolchain wrapper.
However I donot know how to resolve this issue. Can someone please
help me out with this?
My understanding is that for each command invoked
/scratchbox/compilers/bin/sb_gcc_wrapper is invoked, which then
invokes the correct  sbox-arm-linux-xxx command (in the case of an
arm-linux cross tool)
Maybe in my configuration the connection between sb_gcc_wrapper and
mytoolchain/bin is missing and hence the commands fail. How do I make
this connection? I even tried executing the cross tools in my
toolchain by using absolute pats, but that too fails in a similar way.

Would appreciate any help regarding this.

Thanks!
Rohit
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to