From 6501c29fd1fa259fd836a94c363a6593d8db5a6a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 26 Mar 2009 18:58:13 +0000 Subject: Merge r1432:1437 from /branches/newlib into /trunk : - under bare-metal, the user is responsible for providing a gdbserver stub (r1433) - install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434) - allow broader dependency in generated config files (r1435, r1436) - prepare C library menuconfig for using a C library under bare-metal (r1437) /trunk/scripts/build/cc/gcc.sh | 4 4 0 0 ++++ /trunk/config/debug/gdb.in | 5 5 0 0 +++++ /trunk/config/libc/glibc.in | 1 1 0 0 + /trunk/config/libc/uClibc.in | 1 1 0 0 + /trunk/config/libc/eglibc.in | 2 1 1 0 +- /trunk/config/config.mk | 20 8 12 0 ++++++++------------ /trunk/config/arch/sh.in | 2 1 1 0 +- /trunk/config/arch/ia64.in | 2 1 1 0 +- /trunk/config/arch/powerpc64.in | 2 1 1 0 +- /trunk/config/libc.in | 4 0 4 0 ---- 10 files changed, 23 insertions(+), 20 deletions(-) --- scripts/build/cc/gcc.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/build') diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 897434a6..c7e1712b 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -228,6 +228,10 @@ do_cc_core() { 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 } -- cgit v1.2.3