On 3/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:

Another new option that is available that you might want to try is to get the
darcs 1.2/sb-toolchain repo and use a crosstool CONFIG. To use this do the
following:

[sbox-HOST: ~] > darcs get --set-scripts-executable \
http://scratchbox.org/repos/1.2/sb-toolchains

[sbox-HOST: ~] > wget http://kegel.com/crosstool/crosstool-0.42.tar.gz
#(or whatever the latest one is).

[sbox-HOST: ~] > tar xzf crosstool-0.42.tar.gz

[sbox-HOST: ~] > cd sb-toolchains

[sbox-HOST: ~/sb-toolchains] > ./import-crosstool.sh ../crosstool-0.42/

This will import the crosstool dat files and patch sets to use with
sb-toolchains. Use meta/toolchain/crosstool-armv5b-gcc-3.4.5-glibc-2.3.5.conf
as an example. Then do:

[sbox-HOST: ~/sb-toolchains] > make CONFIG=meta/toolchains/<myconfig> all-sums
[sbox-HOST: ~/sb-toolchains] > make CONFIG=meta/toolchains/<myconfig>

This will create a toolchain that uses build steps that were ported over from
crosstool to sb-toolchains and makes use of variables found in the crosstool
*.dat files and the crosstool patch repository.

Hope this helps.

Jon

I was trying to build a toolchain with this, it runs make all-sums ok, but when I run make, it fails with the following error:

/scratchbox/tools/bin/sh: line 1: /home/cicl/sb-toolchains/crosstool/patches/glibc- 2.3.2/old:: No such file or directory
/scratchbox/tools/bin/sh: line 1: glibc-2.3.2-powerpc-procfs.patch: No such file or directory
make[2]: *** [pre-configure] Error 1
make[2]: Leaving directory `/home/cicl/sb-toolchains/libc/crosstool-glibc-headers'
make[1]: *** [dep-../../libc/crosstool-glibc-headers] Error 2
make[1]: Leaving directory `/home/cicl/sb-toolchains/meta/toolchain'
make: *** [build] Error 2

Any ideas on how to fix it?  I'm building with gcc 3.4.5 and glibc 2.3.2.
Thanks,
Greg


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

Reply via email to