Re: GCC plugin for avr-gcc

Sandeep K Chaudhary <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <CAEEAEzUchtP7kswDpHr5s49OCKECwxFFMUJZzxqR33Er-72LLw@mail.gmail.com>
Hi Senthil,

Thanks a lot for your reply !

As reported in my previous email, I see that gcc is configured with
"--enable-shared". Does it mean that plugin support is not turned off?

Yes, it would be great if you can please share a build off latest gcc
with plugin support enabled.

Thanks again,
Sandeep Chaudhary.

On Thu, Jul 24, 2014 at 4:53 AM, Senthil Kumar Selvaraj
<[email protected]> wrote:
> On Wed, Jul 23, 2014 at 10:38:48PM -0400, Sandeep K Chaudhary wrote:
>> Hi Guys,
>>
>> I wish to implement a GCC plugin that can work with avr-gcc. I came to
>> realize that the latest avr-gcc or avr-g++ is based off GCC 4.8.2.
>> However, the whole GCC plugin APIs were introduced in 4.9.0.
>> Therefore, the 'fplugin' option is not present with the latest
>> avr-gcc.
>>
>> Can someone please tell me when we can expect to have the plugin
>> support in avr-gcc? Also, is there some way to get around this problem
>> i.e. somehow being able to use the plugin option with current avr-gcc?
>>
>> It would be a great help if I can get the plugin option to work with avr-gcc.
>
> As Jeremy said, the toolchain Atmel distributes has plugin support
> turned off (as a unintentional side effect of configuring with
> --disable-shared, IIRC).
>
> If for some reason you don't want to build off the latest gcc code, let
> me know - I can run and share a build with plugin support turned on.
>>
>> Thanks and regards,
>> Sandeep Chaudhary
>> University of Waterloo, Canada.
>>
>> _______________________________________________
>> AVR-GCC-list mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/avr-gcc-list



-- 
Thanks and regards,
Sandeep K Chaudhary.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.