This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Finding gcc plugin headers


On Friday 08 May 2009 10:37:27 pm Dave Korn wrote:
>   Instead of pkg-config, the tradition for GCC is to use one of the
> driver's default switches.  Does
>
> gcc -print-file-name=plugin/include/<whatever>.h
>
> work for you?
$ /opt/gccsvn/bin/gcc -print-file-name=plugin/include/gcc-plugin.h
/opt/gccsvn/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/plugin/include/gcc-plugin.h

So if my autoconf / cmake tool just checked for
$ /opt/gccsvn/bin/gcc -print-file-name=plugin/include
/opt/gccsvn/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/plugin/include

then I should be set.

Thanks

Brad


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