Try to further fix using of the build and/or host tools for binutils to build properly.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Apr 18 11:55:52 2007 +0000 (2007-04-18)
changeset 42aacc012db6c4
parent 41 fd6ad5721f77
child 43 f3b4bb1e501b
Try to further fix using of the build and/or host tools for binutils to build properly.
scripts/buildToolchain.sh
     1.1 --- a/scripts/buildToolchain.sh	Tue Apr 17 22:24:42 2007 +0000
     1.2 +++ b/scripts/buildToolchain.sh	Wed Apr 18 11:55:52 2007 +0000
     1.3 @@ -72,12 +72,14 @@
     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 +# Ah! Recent versions of binutils need some of the build and/or host system
    1.10 +# (read CT_BUILD and CT_HOST) tools to be accessible (ar is but an example).
    1.11 +# Do that:
    1.12  CT_DoLog EXTRA "Making build system tools available"
    1.13  mkdir -p "${CT_PREFIX_DIR}/bin"
    1.14  for tool in ar; do
    1.15      ln -s "`which ${tool}`" "${CT_PREFIX_DIR}/bin/${CT_BUILD}-${tool}"
    1.16 +    ln -s "`which ${tool}`" "${CT_PREFIX_DIR}/bin/${CT_HOST}-${tool}"
    1.17  done
    1.18  
    1.19  # Ha. cygwin host have an .exe suffix (extension) for executables.