Hi Jeremy,
Sorry I didn't get time to spend on the plugin. I reviewed the code, and
found that it was a silly mistake. Basically, I had written the plugin for
gcc first, and there was a version match check. Since the version is
different for avr-gcc than gcc mainline, it was failing there.
Essent
Hi Jeremy,
Yeah, the hardest part is over.
I will reply with the failure reason once I resolve it. :)
Thanks again !
Sandeep.
On Thu, Jul 31, 2014 at 2:16 PM, Jeremy Bennett wrote:
> On 31/07/14 19:06, Sandeep K Chaudhary wrote:
> > Thanks for the reply Jeremy !
> >
> > Yes, you are right.
On 31/07/14 19:06, Sandeep K Chaudhary wrote:
> Thanks for the reply Jeremy !
>
> Yes, you are right. plugin_init is indeed being called. And I am
> returning '0' at the end. That means there is some issue in between. I
> will try to figure it out.
Hi Sandeep,
You've got past the hardest hurdle
Hi Senthil,
As pointed out by Jeremy, there is some issue with my plugin_init function.
The plugin infrastructure seems to be in place.
I will try to figure out the issue, and resolve it.
Thanks a lot for all the help !
Sandeep.
On Thu, Jul 31, 2014 at 1:19 AM, Sandeep K Chaudhary <
babbusand
Thanks for the reply Jeremy !
Yes, you are right. plugin_init is indeed being called. And I am returning
'0' at the end. That means there is some issue in between. I will try to
figure it out.
Thanks again,
Sandeep.
On Thu, Jul 31, 2014 at 5:29 AM, Jeremy Bennett wrote:
> On 31/07/14 06:19, S
On 31/07/14 06:19, Sandeep K Chaudhary wrote:
> And also, when I try "fplugin" with avr-gcc or avr-g++, I get the
> following -
>
> sandeep@ubuntu:~/ispec/tool/gcc_plugin/gimple$ avr-gcc
> -fplugin=/home/sandeep/ispec/tool/gcc_plugin/gimple/plugin.so
> -mmcu=atmega8 -c ledchase.c
> cc1: error: fai
And also, when I try "fplugin" with avr-gcc or avr-g++, I get the following
-
sandeep@ubuntu:~/ispec/tool/gcc_plugin/gimple$ avr-gcc
-fplugin=/home/sandeep/ispec/tool/gcc_plugin/gimple/plugin.so -mmcu=atmega8
-c ledchase.c
cc1: error: fail to initialize plugin
/home/sandeep/ispec/tool/gcc_plugin/g
Here it is :
sandeep@ubuntu:~/ispec$ avr-gcc -v
Using built-in specs.
COLLECT_GCC=avr-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/4.8.2/lto-wrapper
Target: avr
Configured with: ../src/configure -v --enable-languages=c,c++
--prefix=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man
--bindir=/u
On Tue, Jul 29, 2014 at 03:23:24PM -0400, Sandeep K Chaudhary wrote:
> Hi Senthil,
>
> Thanks again for your quick response !
>
> On Tue, Jul 29, 2014 at 3:45 AM, Senthil Kumar Selvaraj <
> senthil_kumar.selva...@atmel.com> wrote:
>
> > On Mon, Jul 28, 2014 at 08:18:04PM -0400, Sandeep K Chaudha
Hi Senthil,
Thanks again for your quick response !
On Tue, Jul 29, 2014 at 3:45 AM, Senthil Kumar Selvaraj <
senthil_kumar.selva...@atmel.com> wrote:
> On Mon, Jul 28, 2014 at 08:18:04PM -0400, Sandeep K Chaudhary wrote:
> > Hi Senthil,
> >
> > Thanks a lot for your reply !
> >
> > As reported i
On Mon, Jul 28, 2014 at 08:18:04PM -0400, Sandeep K Chaudhary wrote:
> 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?
The gcc you checked appears to be
On 29/07/14 01:15, Sandeep K Chaudhary wrote:
> Hi Jeremy !
>
> Thanks a lot for your reply ! Please see my reply inline.
>
Hi Sandeep,
Comments below
>
> Here is the output of "gcc -v" :
>
> sandeep@ubuntu:~/ispec$ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/
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,
S
Hi Jeremy !
Thanks a lot for your reply ! Please see my reply inline.
On Thu, Jul 24, 2014 at 3:35 AM, Jeremy Bennett
wrote:
> On 24/07/14 03:38, 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
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
On 24/07/14 03:38, 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
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 pleas
17 matches
Mail list logo