On Thu, Apr 22, 2010 at 10:30 PM, David Expósito wrote:
>
>
> hello if I copy it all this:
>
> GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &&
> find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &&
> rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &&
> unset GCC_INCLUDEDIR
>
>  the error is:
>
>  find: invalid predicate '-print-libgcc-file-name)/include/*
>

First, you might try to _copy and paste_ all four commands from the
book again and see if that fixes the problem.  That will rule out any
typing errors (from the output, I suspect you used ordinary single
quotes (') rather than backquotes (`) ).

If that still does not work, try this:

echo $(gcc -print-libgcc-file-name)

What is the result?

-- 
Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /[email protected]/')
-- 
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