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

David L. Martin dlmarti at kc2lcf.net
Thu Jun 17 11:43:18 PDT 2004

Let me begin by saying I'm not an LFS guru.
I did just complete build LFS from a fully patch RH9 host.
So have faith.

Your on page 37 of the PDF, the files you are looking for should have
been installed on page 31 ("GCC-3.3.3 Pass 1).
I checked the backups of my tools tree, and they are there.
Step back to page 31, and continue again.

The actual file name is
They only do the "*" thing because they don't know your target.

On Thu, 2004-06-17 at 12:43, Alvin wrote:
> Hi,
> 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 &&
> 	unset 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.

David L. Martin <kc2lcf at arrl.net>
There's no place like

More information about the lfs-support mailing list