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(-)
2 bits/sysnum.h needs a cross compiler to be built. Fortunately, this
3 header is not needed to build gcc. Move generation of this header.
5 Index: uClibc/Makefile.in
6 ===================================================================
7 --- uClibc/Makefile.in (revision 18651)
8 +++ uClibc/Makefile.in (working copy)
13 +ifeq ($(UCLIBC_HAS_LOCALE),y)
14 + $(MAKE) locale_headers
23 mv -f $$tmp include/bits/sysnum.h; \
25 -ifeq ($(UCLIBC_HAS_LOCALE),y)
26 - $(MAKE) locale_headers
31 install: install_runtime install_dev