On 09/06/2011 05:22 PM, Athanasios Silis wrote:
I have managed to setup a target with:
Issuing sb-conf show without arguments will give you complete output :)
the arch as i see from gcc -v is --with-arch=armv5te which is not suitable for me, i am attempting to get the older codesourcery toolchain scratchbox-toolchain-arm-linux-cs2009q3-67-1.0.18-1-i386.tar.gz and hope that it is made for ARMv4.
I think Codesourcery has configured their toolchain to use that arch for some time.
Anyway, for most cases you can override it adding your own -march switch in the environment. That or in the packaging.
% export SBOX_EXTRA_CROSS_ARGS=-march=foo See the documentation on environment variables in % less /scratchbox/doc/variables.txt
another question: is it possible / sane to compile a kernel from the board from within scratchbox?
Yes, it is. But there's little reason to do that, kernel is cross-compilable well on it's own.
Regards, Jussi _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users