lfs build-logs

Bruce Dubbs bruce.dubbs at gmail.com
Thu Jul 26 10:13:17 MDT 2007


Dan Nicholson wrote:
> On 7/26/07, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
>> or just:
>>
>>   grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
> 
> Greg has been using something like this in DIY, but he just checks for
> crt1.o. Also, you could match on the line that follows the "succeeded"
> line that just has the location:
> 
> grep '^/usr/lib.*/crt[1in].o' dummy.log
> 
> I didn't check that on a bootstrapped build, so I'm not sure it would
> list the same way when using /tools/bin/gcc. Either of these should be
> good.

Is that what we really want or is it important (or just nice) to have
the "succeeded" part in the output?

We can go either way.  My preference is to keep the "succeeded" to give
the user just a little more comfort.  As a minor side effect, it also
introduces the user to the -o option of grep.

  -- Bruce



More information about the lfs-dev mailing list