This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: --print-prog-name=include


Alexandre Oliva <aoliva@redhat.com> writes:

> gcc -v -E - < /dev/null 2>&1 > /dev/null | sed '1,/^#include <\.\.\.> search starts here:$/d' | sed 1q

I need something robust and not so long.  Simply leave the old
behaviour in place, there is absolutely no reason to change it.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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