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 -durN duma_2_5_14.orig/Makefile duma_2_5_14/Makefile
2 --- duma_2_5_14.orig/Makefile 2008-06-17 10:30:40.000000000 +0200
3 +++ duma_2_5_14/Makefile 2008-06-17 10:30:17.000000000 +0200
5 dumatest.c tstheap.c thread-test.c testmt.c dumatestpp.cpp testoperators.cpp \
8 -OBJECTS = dumapp.o duma.o sem_inc.o print.o
9 +OBJECTS = duma.o sem_inc.o print.o
10 +SO_OBJECTS = duma_so.o sem_inc_so.o print_so.o
12 -SO_OBJECTS = dumapp_so.o duma_so.o sem_inc_so.o print_so.o
15 +SO_OBJECTS += dumapp_so.o
18 all: libduma.a tstheap$(EXEPOSTFIX) dumatest$(EXEPOSTFIX) thread-test$(EXEPOSTFIX) testmt$(EXEPOSTFIX) dumatestpp$(EXEPOSTFIX) testoperators$(EXEPOSTFIX) $(DUMA_DYN_DEPS)