# HG changeset patch # User "Yann E. MORIN" # Date 1176897352 0 # Node ID aacc012db6c419f158b5c6202098d7935f547860 # Parent fd6ad5721f773a0ec0d3a93cfac13592deb6fb7f Try to further fix using of the build and/or host tools for binutils to build properly. diff -r fd6ad5721f77 -r aacc012db6c4 scripts/buildToolchain.sh --- a/scripts/buildToolchain.sh Tue Apr 17 22:24:42 2007 +0000 +++ b/scripts/buildToolchain.sh Wed Apr 18 11:55:52 2007 +0000 @@ -72,12 +72,14 @@ *) CT_HOST="`echo \"${CT_HOST}\" |sed -r -e 's/-/-host_/;'`";; esac -# Ah! Recent versions of binutils need some of the build system (read CT_BUILD) -# tools to be accessible (ar is but an example). Do that: +# Ah! Recent versions of binutils need some of the build and/or host system +# (read CT_BUILD and CT_HOST) tools to be accessible (ar is but an example). +# Do that: CT_DoLog EXTRA "Making build system tools available" mkdir -p "${CT_PREFIX_DIR}/bin" for tool in ar; do ln -s "`which ${tool}`" "${CT_PREFIX_DIR}/bin/${CT_BUILD}-${tool}" + ln -s "`which ${tool}`" "${CT_PREFIX_DIR}/bin/${CT_HOST}-${tool}" done # Ha. cygwin host have an .exe suffix (extension) for executables.