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/binutils.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/binutils.sh')
-rw-r--r-- | scripts/build/binutils.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/binutils.sh b/scripts/build/binutils.sh index 7a3497df..d2ab56f1 100644 --- a/scripts/build/binutils.sh +++ b/scripts/build/binutils.sh @@ -30,13 +30,13 @@ do_binutils() { --prefix=${CT_PREFIX_DIR} \ --disable-nls \ ${CT_BINUTILS_EXTRA_CONFIG} \ - ${BINUTILS_SYSROOT_ARG} 2>&1 |CT_DoLog DEBUG + ${BINUTILS_SYSROOT_ARG} 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Building binutils" - make ${PARALLELMFLAGS} 2>&1 |CT_DoLog DEBUG + make ${PARALLELMFLAGS} 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing binutils" - make install 2>&1 |CT_DoLog DEBUG + make install 2>&1 |CT_DoLog ALL # Make those new tools available to the core C compiler to come: # Note: some components want the ${TARGET}-{ar,as,ld,strip} commands as @@ -46,7 +46,7 @@ do_binutils() { for t in ar as ld strip; do ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_PREFIX_DIR}/${CT_TARGET}/bin/${t}" ln -sv "${CT_PREFIX_DIR}/bin/${CT_TARGET}-${t}" "${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-${t}" - done |CT_DoLog DEBUG + done |CT_DoLog ALL CT_EndStep } |