Make a relative symlink from ${CT_TARGET}-cc to ${CT_TARGET}-gcc.
This helps those who want to relocate their toolchains later.
Reported by Nye Liu: http://sourceware.org/ml/crossgcc/2008-10/msg00093.html
/trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
1.1 --- a/scripts/build/cc/gcc.sh Tue Oct 28 15:07:28 2008 +0000
1.2 +++ b/scripts/build/cc/gcc.sh Tue Oct 28 18:51:44 2008 +0000
1.3 @@ -297,7 +297,7 @@
1.4
1.5 # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able
1.6 # to call the C compiler with the same, somewhat canonical name.
1.7 - ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}"-{g,}cc 2>&1 |CT_DoLog ALL
1.8 + CT_DoExecLog ALL ln -sv "${CT_TARGET}"-gcc "${CT_PREFIX_DIR}/bin/${CT_TARGET}"-cc
1.9
1.10 CT_EndStep
1.11 }