scripts/build/cc/gcc.sh
branchnewlib
changeset 1359 877d3d97f806
parent 1259 9a567f354599
child 1365 c4d124ed9f8e
     1.1 --- a/scripts/build/cc/gcc.sh	Sun Mar 15 20:08:06 2009 +0000
     1.2 +++ b/scripts/build/cc/gcc.sh	Sun Mar 22 22:46:35 2009 +0000
     1.3 @@ -220,6 +220,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