RHEL incompatibility in crosstool-ng build gdb native script

Brian Dessent brian@dessent.net
Mon Sep 1 12:52:00 GMT 2008


Martin Guy wrote:

> >         -print | xargs -d\\n rm -fv 2>&1 | CT_DoLog ALL
> 
> Ignore that - it only removes one file!

What you want here is "-print0 | xargs -0 ...".  This allows filenames
with whitespace as well as only invoking the minimal number of rm
processes as dictated by the maximum argv length.

Brian

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list