5.7 Adjusting the Toolchain Problem
I've gotten to 5.7 for adjusting the toolchain. After running the initial mv and ln commands, I issue:
Code:
gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' `dirname $(gcc -print-libgcc-file-name)`/specs Code:
sed: can't read /mnt/lfs/tools/bin/../lib/gcc/i686-pc-lnux-gnu/4.2.1/specs: No such file or directory Code:
readelf -l /tools/bin/cc | grep interpreter I dont believe that's normal since the LFS book states it should be in /tools/lib/ld-linux.so.2 or am I wrong? I'm not sure if this is part of the problem. Just throwing it out there. Thanks for any info. |
Hi,
This: gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' `dirname $(gcc -print-libgcc-file-name)`/specs is not correct, it should be: gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' > `dirname $(gcc -print-libgcc-file-name)`/specs Hope this helps. |
Thanks a bunch. Now I feel silly. I couldnt really copy and paste since I'm using VMWare. I thought the > was just from the prompt. Thanks again.
|
All times are GMT -5. The time now is 03:57 PM. |