On 1/28/06, Chris Staub <[EMAIL PROTECTED]> wrote:
> Before you
> install GCC into /usr, the check for "/usr/lib/crt.*" will work, but
> after you do it will not because GCC will actually be using
> "/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../crt1.o"

Good catch, Chris.  What about

grep "/usr/.*/crt.* " dummy.log

We should also think about what happens when crtbegin.o and crtend.o
come under /usr after gcc is installed since the answer you get will
not be the same as shown in the book.

In this case, the following regex will always return what's in the book.

grep "/usr/.*/crt.\.o " dummy.log

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

Reply via email to