Glibc won't Lock in

Greg Schafer gschafer at
Wed Jan 14 19:40:22 PST 2004

On Wed, Jan 14, 2004 at 09:16:26PM -0600, John Cheyney wrote:
> > If no error, then please physically "eyeball" the specs file and see if the
> > intended change was made. This is all explained in the book. I fail to see
> > why this is a problem for you.
> I found this line in the spec file:
> *link
> %{!dynamic-linker:-dynamic-linker /tools/lib/}}

Ok, good! Why didn't you tell us that in the first place! :-)

> When I run the sanity check I get no output from the last command
> (readelf -l a.out | grep ': /tools').  After running the two previous
> commands I get files named dummy.c and a.out.  When I cat dummy.c I get:

Ok, then your problem is something else. Most probably, you're still using
the gcc from the host coz your $PATH is wrong.

Please show the output of these commands:

type -p gcc

echo $PATH

More information about the lfs-support mailing list