diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-08 17:48:32 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-08 17:48:32 +0000 |
commit | 8a2b17ab5eb0b279354b431d6a83c39751a36d6a (patch) | |
tree | 8a4f95a0b71cdaf2086470b92d3703e1a9d3c654 /scripts/build/cc_gcc.sh | |
parent | 5856bb8c5e8db06bce1e8bf5c31f1fc554e8c086 (diff) | |
download | crosstool-ng-8a2b17ab5eb0b279354b431d6a83c39751a36d6a.tar.gz crosstool-ng-8a2b17ab5eb0b279354b431d6a83c39751a36d6a.tar.bz2 crosstool-ng-8a2b17ab5eb0b279354b431d6a83c39751a36d6a.zip |
Huge fixes to glibc build, so that we can build at least (and at last):
- use ports addon even when installing headers,
- use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!),
- lowest kernel version to use is only X.Y.Z, not X.Y.Z.T,
- a bit of preparations for NPTL (RSN I hope),
- fix fixing the linker scripts (changing the backup file is kind of useless and stupid);
Shut uClibc finish step: there really is nothing to do;
Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least);
Did not catch the make errors: fixed the pattern matching in scripts/functions;
Introduce a new log level, ALL:
- send components' build messages there,
- DEBUG log level is destined only for crosstool-NG debug messages,
- migrate sub-actions to use appropriate log levels;
Update the armeb-unknown-linux-gnu sample:
- it builds!
- uses gcc-4.0.4 and glibc-2.3.6,
- updated to latest config options set.
Diffstat (limited to 'scripts/build/cc_gcc.sh')
-rw-r--r-- | scripts/build/cc_gcc.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh index b7d36ee0..54ebddf8 100644 --- a/scripts/build/cc_gcc.sh +++ b/scripts/build/cc_gcc.sh @@ -80,11 +80,11 @@ do_cc() { --enable-symvers=gnu \ --enable-c99 \ --enable-long-long \ - ${CT_CC_EXTRA_CONFIG} 2>&1 |CT_DoLog DEBUG + ${CT_CC_EXTRA_CONFIG} 2>&1 |CT_DoLog ALL if [ ! "${CT_CANADIAN}" = "y" ]; then CT_DoLog EXTRA "Building libiberty" - make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} all-build-libiberty 2>&1 |CT_DoLog ALL fi @@ -109,10 +109,10 @@ do_cc() { esac CT_DoLog EXTRA "Building final compiler" - make ${PARALLELMFLAGS} all 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} all 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing final compiler" - make install 2>&1 |CT_DoLog DEBUG + make install 2>&1 |CT_DoLog ALL # FIXME: shouldn't people who want this just --disable-multilib in final gcc # and be done with it? |