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/libc_libfloat.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/libc_libfloat.sh')
-rw-r--r-- | scripts/build/libc_libfloat.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/libc_libfloat.sh b/scripts/build/libc_libfloat.sh index d40070f0..70b95c2d 100644 --- a/scripts/build/libc_libfloat.sh +++ b/scripts/build/libc_libfloat.sh @@ -41,17 +41,17 @@ do_libfloat() { CT_DoLog EXTRA "Copying sources to build dir" mkdir build-libfloat cd build-libfloat - ( cd "${CT_SRC_DIR}/${CT_LIBFLOAT_FILE}"; tar cf - . ) |tar xvf - |CT_DoLog DEBUG + ( cd "${CT_SRC_DIR}/${CT_LIBFLOAT_FILE}"; tar cf - . ) |tar xvf - |CT_DoLog ALL CT_DoLog EXTRA "Cleaning library" - make clean 2>&1 |CT_DoLog DEBUG + make clean 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Building library" - make CROSS_COMPILE="${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-" 2>&1 |CT_DoLog DEBUG + make CROSS_COMPILE="${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-" 2>&1 |CT_DoLog ALL CT_DoLog EXTRA "Installing library" make CROSS_COMPILE="${CT_CC_CORE_PREFIX_DIR}/bin/${CT_TARGET}-" \ - DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog DEBUG + DESTDIR="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL CT_Popd |