[Scratchbox-devel] problems building a toolchain
Jussi Hakala
jussi.hakala at movial.fi
Fri Oct 27 13:40:11 EEST 2006
I'd recommend building a foreign toolchain with toolchain-extras
repository. It's the preferred way from 1.0.3 (Scratchbox Apophis r1)
onward.
There is a wiki page about foreign toolchains [1] available in
scratchbox.org.
In toolchains repository, you can use [2] to create the checksums.
[1] http://scratchbox.org/wiki/ForeignToolchains
[2] make CONFIG=/path/to/config all-sums
Regards,
Jussi
Rafael Espíndola wrote:
> I want to build a new toolchain that includes DT_GNU_HASH support.
> The current toolchain that I have installed is
> scratchbox-toolchain-cs2005q3.2-glibc-arm and I am trying to rebuild
> it first.
>
> I downloaded sb-toolchains from darcs and tried to run
>
> make CONFIG=meta/toolchain/arm-gcc3.4.cs2005q3-2-glibc.conf
>
> but the build fails while trying to download
> glibc-2.3.5pre-debian.patch. Commenting this patch the build fails to
> find glibc-2.3.5pre-cross-compile-nptl.patch. Commenting that the
> build fails because a checksum of linux-2005q3-2.tar.bz2 is not
> available.
>
> Computing the checksum the build fails with
>
> -------------------------------------------------
> Making pre-install cookie...
> Ready to proceed...
> mkdir -p /scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3-eabi-nofpu
> mkdir -p /scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3-eabi-nofpu/usr/
> cp -a work/usr/include
> /scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3-eabi-nofpu/usr/
> cp: cannot stat `work/usr/include': No such file or directory
> -----------------------------------------------
>
> Am I doing something wrong? Should I download a stable release instead
> of darcs?
>
> Thanks,
> Rafael
> _______________________________________________
> Scratchbox-devel mailing list
> Scratchbox-devel at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel
More information about the Scratchbox-devel
mailing list