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(-)
7 prompt "C-library to use:"
13 select LIBC_SUPPORT_NPTL
14 select LIBC_SUPPORT_LINUXTHREADS
19 select LIBC_SUPPORT_LINUXTHREADS
28 default "glibc" if LIBC_GLIBC
29 default "uClibc" if LIBC_UCLIBC
31 config LIBC_SUPPORT_NPTL
35 config LIBC_SUPPORT_LINUXTHREADS
40 source config/libc/glibc.in
44 source config/libc/uClibc.in
49 Enter the date of the snapshot you want to use in the form: YYYYMMDD
50 where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
54 - glibc has snapshots done every monday, and only the last ten are kept.
55 - uClibc has daily snapshots, and only the last 30-or-so are kept.
57 So if you want to be able to re-build your toolchain later, you will
58 have to sacve your C library tarball by yourself.