i have next error making gcc PASS 2:
make[2]: Leaving directory '/mnt/lfs/sources/gcc-build/libdecnumber'
make[2]: Entering directory '/mnt/lfs/sources/gcc-build/gcc'
make[2]: ***No rule to make target 'all'. Stop.
make[2]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
i think i did something wrong :/ but this test (before making binutils pass2):
Quote:
echo 'main(){}' > dummy.c
$LFS_TGT-gcc -B/tools/lib dummy.c
readelf -l a.out | grep ': /tools'
|
has given correct output.
i don't know if a need to type this:
Quote:
case $(uname -m) in
x86_64)
for file in $(find gcc/config -name t-linux64) ; do \
cp -v $file{,.orig}
sed '/MULTILIB_OSDIRNAMES/d' $file.orig > $file
done
;;
esac
|
because, there is said that "On x86_64, unsetting the multilib spec for GCC ensures that it won't attempt to link against libraries on the host:"
and i don't know if i had x86_64. I had Intel Core 2 Duo P8400.
excuse me my poor english :/