scripts/buildToolchain.sh
changeset 42 aacc012db6c4
parent 28 3a682f0237df
child 48 d19bdc2c5fff
     1.1 --- a/scripts/buildToolchain.sh	Tue Apr 10 16:05:59 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.