[LFS 5.1.1] can't read /tools/lib/gcc-lib/*/*/specs

Alvin alvin789 at netvigator.com
Thu Jun 17 09:43:11 PDT 2004


I am following LFS v 5.1.1 on my Redhat Linux 9. I follow the book instructions and I got problem in Ch.5 "Adjusting the toolchain".
When I try to amend the GCC specs file as followed:
	SPECFILE=/tools/lib/gcc-lib/*/*/specs &&
	sed -e 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2 at g' \
    	$SPECFILE > tempspecfile &&
	mv -f tempspecfile $SPECFILE &&
I got the error:
"sed: can't read /tools/lib/gcc-lib/*/*/specs: No such file or directory" and I don't see gcc-lib in /tools.
I will appreciate for any help.

Thanks in advance


More information about the lfs-support mailing list