On 1/21/06, mrdaniel <[EMAIL PROTECTED]> wrote:
>
> $ cat > sed_ldLinuxso2.sh << "EOF"
> > #!/bin/sh
> > SPECFILE=`gcc --print-file specs` &&
> > sed 's@ /lib/ld-linux.so.2@ /tools/lib/[EMAIL PROTECTED]' \
> >       $SPECFILE > tempspecfile &&
> > mv -f tempspecfile $SPECFILE &&
> > unset SPECFILE
> > EOF
> $

Maybe you should run the commands by hand first to make sure they
work.  Also, you could echo $SPECFILE to see that it's actually
something reasonable.

Also, maybe you're using the wrong gcc.

1.  "which gcc" should be /tools/bin/gcc
2.  "echo $PATH" should have /tools/bin at the beginning

That's a thought.  Maybe your shell script is assuming a different
path instead of inheriting it from the parent process.  An "echo
$PATH" in the script would help.

> On Thursday 19 January 2006 12:11 pm, Chris Staub wrote:

Also, please don't top post.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to