diff -r 5594b05bc2d8 -r 17e37102a037 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Thu Mar 26 18:47:34 2009 +0000 +++ b/scripts/build/cc/gcc.sh Thu Mar 26 18:58:13 2009 +0000 @@ -228,6 +228,10 @@ CT_DoLog EXTRA "Installing ${mode} core C compiler" CT_DoExecLog ALL make ${install_rules} + # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able + # to call the C compiler with the same, somewhat canonical name. + CT_DoExecLog ALL ln -sv "${CT_TARGET}"-gcc "${core_prefix_dir}/bin/${CT_TARGET}"-cc + CT_EndStep }