Also install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc.
/branches/newlib/scripts/build/cc/gcc.sh | 4 4 0 0 ++++
1 file changed, 4 insertions(+)
1.1 --- a/scripts/build/cc/gcc.sh Sun Mar 22 22:45:52 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