Fix building core C compiler.
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers.
In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake.
This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested).
/trunk/scripts/build/cc_gcc.sh | 100 47 53 0 +++++++++++++++++++++++-------------------------
1 file changed, 47 insertions(+), 53 deletions(-)
1 --- uClibc.orig/libc/Makefile 2005-07-20 08:10:44.000000000 +0200
2 +++ uclibc/libc/Makefile 2005-07-28 13:33:40.000000000 +0200
4 $(AR) dN 2 $(LIBNAME) $$objs && \
5 $(AR) dN 2 $(LIBNAME) $$objs
6 @for objfile in obj.signal \
7 - obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
8 + obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
9 obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
10 if [ -e $$objfile ] ; then \
11 echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \