Ah! Recent versions of binutils need some of the build system (read CT_BUILD) tools to be accessible (ar is but an example).
Fix typo.
1.1 --- a/scripts/buildToolchain.sh Tue Apr 10 16:04:56 2007 +0000
1.2 +++ b/scripts/buildToolchain.sh Tue Apr 10 16:05:59 2007 +0000
1.3 @@ -72,13 +72,21 @@
1.4 *) CT_HOST="`echo \"${CT_HOST}\" |sed -r -e 's/-/-host_/;'`";;
1.5 esac
1.6
1.7 +# Ah! Recent versions of binutils need some of the build system (read CT_BUILD)
1.8 +# tools to be accessible (ar is but an example). Do that:
1.9 +CT_DoLog EXTRA "Making build system tools available"
1.10 +mkdir -p "${CT_PREFIX_DIR}/bin"
1.11 +for tool in ar; do
1.12 + ln -s "`which ${tool}`" "${CT_PREFIX_DIR}/bin/${CT_BUILD}-${tool}"
1.13 +done
1.14 +
1.15 # Ha. cygwin host have an .exe suffix (extension) for executables.
1.16 [ "${CT_KERNEL}" = "cygwin" ] && EXEEXT=".exe" || EXEEXT=""
1.17
1.18 # Transform the ARCH into a kernel-understandable ARCH
1.19 case "${CT_ARCH}" in
1.20 x86) CT_KERNEL_ARCH=i386;;
1.21 - ppc) CT_KERNL_ARCH=powerpc;;
1.22 + ppc) CT_KERNEL_ARCH=powerpc;;
1.23 *) CT_KERNEL_ARCH="${CT_ARCH}";;
1.24 esac
1.25