Archaic wrote:
> Working my way through a build a noticed a few things:
> 
> The grep for the crt files gives more than what is listed in the book.
> 
> $ grep -o '/usr/lib.*/crt[1in].* .*' /lfs/tools/logs/adjust3.log
> /usr/lib/crt1.o /usr/lib/crti.o 
> /tools/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbegin.o 
> -L/tools/lib/gcc/i686-pc-linux-gnu/4.1.2 
> -L/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/lib 
> /tmp/ccCVnHHt.o --verbose -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc 
> --as-needed -lgcc_s --no-as-needed 
> /tools/lib/gcc/i686-pc-linux-gnu/4.1.2/crtend.o /usr/lib/crtn.o
> /usr/lib/crt1.o succeeded
> /usr/lib/crti.o succeeded
> /usr/lib/crtn.o succeeded
> 
> If you edit the search pattern slightly, you get:
> 
> $ grep -o '/usr/lib.*/crt[1in].* succeeded' /lfs/tools/logs/adjust3.log
> /usr/lib/crt1.o succeeded
> /usr/lib/crti.o succeeded
> /usr/lib/crtn.o succeeded

This is a good point.  I was helping a new LFSer on another list and the
first match confused him.  Changing the sed is probably a good idea.

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

Reply via email to