http://viewcvs.scratchbox.org/cgi-bin/viewcvs.cgi/scratchbox/doc/sb_docs/toolchain.xml 05:18 <@ricardo> MoZes: now the build scripts and Makefile allow to build the compiler for any supported target 05:21 <@ricardo> You should use the custom toolchain script this because it also builds the devicetools that scratchbox needs 05:21 <@ricardo> s/this/for this/ 06:40 <@ricardo> I have know built hppa toolchain with the custom toolchain script 06:40 <@ricardo> Even though the build stopped when building trace 06:41 <@ricardo> s/trace/strace 06:42 <@ricardo> For hppa a small change is needed in the Makefile. The reason can be found here: http://sources.redhat.com/ml/crossgcc/2003-06/msg00170.html 06:42 <@ricardo> the diff: 06:42 <@ricardo> --- sb-toolchains/gcc/glibc/Makefile_orig 2004-11-04 08:36:24.000000000 +0200 06:42 <@ricardo> +++ sb-toolchains/gcc/glibc/Makefile 2004-11-04 08:37:46.000000000 +0200 06:42 <@ricardo> @@ -220,7 +220,7 @@ 06:42 <@ricardo> export BUILD_CC="$(HOSTCC)" && export CPP="host-cpp" && export ac_preproc_ok=true && export PATH=$(COMPILERDIR)/bin:$$PATH && \ 06:42 <@ricardo> mkdir -p work/build-glibc-headers && \ 06:42 <@ricardo> cd work/build-glibc-headers && \ 06:42 <@ricardo> - ../glibc-$(GLIBC_VER)-patched/configure --prefix=/usr --host=$(ARCH)-linux $(GCC_WITH_HEADERS) --disable-sanity-checks --without-cvs $(GLIBC_SOFTFLOAT) $(GLIBC_CONFIGURE_ARGS) && \ 06:42 <@ricardo> + ../glibc-$(GLIBC_VER)-patched/configure --prefix=/usr --host=$(ARCH)-linux $(GCC_WITH_HEADERS) --disable-sanity-checks --enable-hacker-mode --without-cvs $(GLIBC_SOFTFLOAT) $(GLIBC_CONFIGURE_ARGS) && \ 06:42 <@ricardo> make sysdeps/gnu/errlist.c && \ 06:42 <@ricardo> mkdir -p stdio-common && \ 06:42 <@ricardo> touch stdio-common/errlist-compat.c && \ ------------------------------------------------------------- Old stuff: --------- cd /scratchbox chown -R build.users tools compilers device_tools sbox-config -sd debian <@lle> the whole toolchain, using debian patches 21:57 <@lle> if you fetch: http://viewcvs.scratchbox.org/cgi-bin/viewcvs.cgi/sb-toolchains/sb-toolchains.tar.gz?tarball=1 21:57 <@lle> you'll get the whole tree 21:58 <@lle> It'll download the gcc, glibc, binutils and kernel header source tarballs from scratchbox.org 21:58 <@lle> custom-target-kit.sh is inside it, under meta/target-kit/ directory 22:00 <@lle> you _MUST_ use 0.9.8+ version of scratchbox, and you _MUST_ use the automatically created HOST sbox target when building this 22:00 <@lle> also remember to enable debian devkit byt running sbox-config -sd debian