This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Finding gcc plugin headers
Brad Hards wrote:
> 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?
> For those who'd like to use this with cmake, I wrote up the results of my work
> in a blog entry:
> http://www.kdedevelopers.org/node/3952
>
Ah, I was about to mention the gotcha about getting the argument returned
verbatim when it can't find it but I see you already dealt with it yourself.
I noticed one bit that looked like a typo:
# we don't have this path - it needs some suffix
ITYM 'prefix' here, no?
cheers,
DaveK