This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RHEL incompatibility in crosstool-ng build gdb native script


>         find "${CT_DEBUG_INSTALL_DIR}" -type f -name gdbserver \
>             -exec rm -fv {} + 2>&1 |CT_DoLog ALL
>
>  Unfortunately it would seem that my version of find does not understand
>  the + separator, and for a successful build this needs to be replaced with
>  \; instead.
>
>  I seem to remember encountering this problem earlier, elsewhere in this
>  script.  Certainly this use of + is not necessary!

Or, to avoid running "rm" hundreds of times,
        -print | xargs -d\\n rm -fv 2>&1 | CT_DoLog ALL

    M

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]