scripts/build/cc/gcc.sh
changeset 1269 17e37102a037
parent 1268 5594b05bc2d8
child 1389 fbaee258bfea
     1.1 --- a/scripts/build/cc/gcc.sh	Thu Mar 26 18:47:34 2009 +0000
     1.2 +++ b/scripts/build/cc/gcc.sh	Thu Mar 26 18:58:13 2009 +0000
     1.3 @@ -228,6 +228,10 @@
     1.4      CT_DoLog EXTRA "Installing ${mode} core C compiler"
     1.5      CT_DoExecLog ALL make ${install_rules}
     1.6  
     1.7 +    # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able
     1.8 +    # to call the C compiler with the same, somewhat canonical name.
     1.9 +    CT_DoExecLog ALL ln -sv "${CT_TARGET}"-gcc "${core_prefix_dir}/bin/${CT_TARGET}"-cc
    1.10 +
    1.11      CT_EndStep
    1.12  }
    1.13