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


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


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