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(-)
2 bits/sysnum.h needs a cross compiler to be built. Fortunately, this
3 header is not needed to build gcc. Move generation of this header.
5 Index: uClibc/Makefile.in
6 ===================================================================
7 --- uClibc/Makefile.in (revision 18651)
8 +++ uClibc/Makefile.in (working copy)
13 +ifeq ($(UCLIBC_HAS_LOCALE),y)
14 + $(MAKE) locale_headers
23 mv -f $$tmp include/bits/sysnum.h; \
25 -ifeq ($(UCLIBC_HAS_LOCALE),y)
26 - $(MAKE) locale_headers
31 install: install_runtime install_dev