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 # Makefile for each steps
2 # Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
4 CT_STEPS := libc_check_config \
26 @$(CT_NG) RESTART=$@ STOP=$@ build
28 $(patsubst %,+%,$(CT_STEPS)):
29 @$(CT_NG) STOP=$(patsubst +%,%,$@) build
31 $(patsubst %,%+,$(CT_STEPS)):
32 @$(CT_NG) RESTART=$(patsubst %+,%,$@) build
35 @echo ' list-steps - List all build steps'
38 @echo 'Available build steps, in order:'
39 @for step in $(CT_STEPS); do \
42 @echo 'Use "$(CT_NG) <step>" to execute only that step.'
43 @echo 'Use "$(CT_NG) +<step>" to execute up to that step.'
44 @echo 'Use "$(CT_NG) <step>+" to execute from that step onward.'