Hi list. I'm using the lfs live cd on an empty virtual machine. I'm
following the lfs book but I get an error when I try to adjust the toolchain
in the chapter 5.7.
The error is:
sudo gcc -dumpspecs | sed 's...@^/lib/ld-linux.so.2@/tools&@g' \
> `dirname $(gcc -print-libgcc-file-name)`/specs
password: gcc unrecognized option "-mtune=pentiumpro"
sed: can't read (dirname /tools/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc.a):
no such file or directory
sed: can't read /specs: No such file or directory
A similar error occurs even when I type:
GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &&
find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &&
rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &&
unset GCC_INCLUDEDIR
Can you help me?
Simone
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page