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(-)
7 prompt "C-library to use:"
13 select LIBC_SUPPORT_NPTL
14 select LIBC_SUPPORT_LINUXTHREADS
19 select LIBC_SUPPORT_LINUXTHREADS
28 default "glibc" if LIBC_GLIBC
29 default "uClibc" if LIBC_UCLIBC
31 config LIBC_SUPPORT_NPTL
35 config LIBC_SUPPORT_LINUXTHREADS
40 source config/libc/glibc.in
44 source config/libc/uClibc.in
49 Enter the date of the snapshot you want to use in the form: YYYYMMDD
50 where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
54 - glibc has snapshots done every monday, and only the last ten are kept.
55 - uClibc has daily snapshots, and only the last 30-or-so are kept.
57 So if you want to be able to re-build your toolchain later, you will
58 have to sacve your C library tarball by yourself.