Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same *64):
- symlink all lib64/ dirs to the corresponding lib/ dir
Also, prevent gcc from installing some of its target libs outside of the sys-root, in the first place.
Thanks to Laurent DUFRECHOU for reporting the bug and testing the fix.
/trunk/scripts/build/cc_gcc.sh | 26 0 26 0 --------------------------
/trunk/scripts/crosstool.sh | 14 14 0 0 ++++++++++++++
2 files changed, 14 insertions(+), 26 deletions(-)
1 diff -urN uClibc-dist/libc/sysdeps/linux/common/bits/uClibc_touplow.h uClibc/libc/sysdeps/linux/common/bits/uClibc_touplow.h
2 --- uClibc-dist/libc/sysdeps/linux/common/bits/uClibc_touplow.h Fri Jun 3 13:30:25 2005
3 +++ uClibc/libc/sysdeps/linux/common/bits/uClibc_touplow.h Fri Jun 3 13:30:39 2005
6 /* glibc uses the equivalent of - typedef __int32_t __ctype_touplow_t; */
8 -typedef __uint16_t __ctype_mask_t;
9 +typedef __uint32_t __ctype_mask_t;
11 #ifdef __UCLIBC_HAS_CTYPE_SIGNED__
13 -typedef __int16_t __ctype_touplow_t;
14 +typedef __int32_t __ctype_touplow_t;
15 #define __UCLIBC_CTYPE_B_TBL_OFFSET 128
16 #define __UCLIBC_CTYPE_TO_TBL_OFFSET 128