On 1 October 2013 16:09, Ken Moffat <[email protected]> wrote:

> On Tue, Oct 01, 2013 at 03:27:22PM +1300, Craig Magee wrote:
> > However, grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' returns only:
> > SEARCH_DIR("/usr/lib")
> > SEARCH_DIR("/lib");
> >
> > while the book tells me to expect:
> > SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib64")
> > SEARCH_DIR("/usr/local/lib64")
> > SEARCH_DIR("/lib64")
> > SEARCH_DIR("/usr/lib64")
> > SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib")
> > SEARCH_DIR("/usr/local/lib")
> > SEARCH_DIR("/lib")
> > SEARCH_DIR("/usr/lib");
> >
> > Any advice on where I went wrong would be greatly appreciated.
> >
> > Thanks.
>
>  Does the book tell you to expect that ?  My local copy of 7.4 says
> that your results are correct.  I think you might have been looking
> at a different version of the book, or a different page, along the
> way.  In particular, that grep for '.*/usr/lib' cannot possibly match
> '/usr/x86_64-unknown-linux-gnu/lib'.
>

Ah, I didn't think to take the time decoding the regular expression as they
confuse the heck out of me.  I copypasta'd it.

http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gcc.html
It definitely states the block of text I quoted.

Would the expected output listed for i686 systems also be incorrect?
SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
SEARCH_DIR("/usr/local/lib")
SEARCH_DIR("/lib")
SEARCH_DIR("/usr/lib");
-- 
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