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 # ARM specific configuration file
4 select ARCH_SUPPORTS_BOTH_ENDIAN
6 select ARCH_SUPPORT_ARCH
7 select ARCH_SUPPORT_ABI
8 select ARCH_SUPPORT_CPU
9 select ARCH_SUPPORT_TUNE
10 select ARCH_SUPPORT_FPU
12 The ARM architecture, as defined by:
17 prompt "Use EABI (EXPERIMENTAL)"
18 depends on EXPERIMENTAL
21 Set up the toolchain so that it generates EABI-compliant binaries.
24 default "aapcs" if ARCH_ARM_EABI