Allow user to add a directory component in the sys-root path.
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR).
As a side effect, fix creating lib64->lib symlinks.
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 6 3 3 0 +++---
/trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++---------
/trunk/scripts/functions | 2 1 1 0 +-
/trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++
8 files changed, 34 insertions(+), 19 deletions(-)
1 --- glibc-2.7/sysdeps/unix/sysv/linux/dl-osinfo.h.orig 2007-09-15 23:54:08.000000000 +0100
2 +++ glibc-2.7/sysdeps/unix/sysv/linux/dl-osinfo.h 2008-08-20 09:26:26.000000000 +0100
8 + int versionindex = 0;
12 /* Try the uname system call. */
18 + /* We are only interested in the first three kernel numbers, so */
19 + /* chop off anything past that: */
25 + if (versionindex == 63) break;
26 + if (*choppoint == '.') dotsfound++;
30 + if (*choppoint == '0' || *choppoint == '1'
31 + || *choppoint == '2' || *choppoint == '3'
32 + || *choppoint == '4' || *choppoint == '5'
33 + || *choppoint == '6' || *choppoint == '7'
34 + || *choppoint == '8' || *choppoint == '9')
44 /* Now convert it into a number. The string consists of at most
46 + three parts. Now it does, anyway. ;-) */