Re: GCC plugin for avr-gcc

Senthil Kumar Selvaraj <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
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
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.