[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] GCC plugin for avr-gcc
From: |
Senthil Kumar Selvaraj |
Subject: |
Re: [avr-gcc-list] GCC plugin for avr-gcc |
Date: |
Wed, 30 Jul 2014 18:50:00 +0530 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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 <
> address@hidden> 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 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 the native compiler, not the one
> > target for AVR. Is that correct?
> >
>
> Yes, that is correct. I checked again, this time for avr-gcc, and there
> also the --enable-shared config is present. Any idea why could it not be
> working then?
>
Hmm - this is what I get on the latest released toolchain build for
Linux x86_64.
$ ~/downloads/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc -v
Configured with:
/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/gcc/configure
LDFLAGS=-L/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-linux_x86_64/lib
CPPFLAGS= --target=avr --host=x86_64-pc-linux-gnu
--build=x86_64-pc-linux-gnu
--prefix=/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-linux_x86_64
--libdir=/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-linux_x86_64/lib
--enable-languages=c,c++ --with-dwarf2 --enable-doc --disable-shared
--disable-libada --disable-libssp --disable-nls --with-avrlibc=yes
--with-mpfr=/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-linux_x86_64
--with-gmp=/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-linux_x86_64
--with-mpc=/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/avr8-gnu-toolchain-linux_x86_64
--enable-fixed-point
--with-pkgversion=AVR_8_bit_GNU_Toolchain_3.4.4_1229
--with-bugurl=http://www.atmel.com
and disabled-shared is present. Can you dump the full command output?
Regards
Senthil
>
> > >
> > > Yes, it would be great if you can please share a build off latest gcc
> > > with plugin support enabled.
> >
> > Sure, will do and send you the link.
> >
>
> Thanks again !
>
>
> > >
> > > Thanks again,
> > > Sandeep Chaudhary.
> > >
> > > On Thu, Jul 24, 2014 at 4:53 AM, Senthil Kumar Selvaraj
> > > <address@hidden> 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
> > > >> address@hidden
> > > >> https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> > >
> > >
> > >
> > > --
> > > Thanks and regards,
> > > Sandeep K Chaudhary.
> >
>
>
>
> --
> Thanks and regards,
> Sandeep K Chaudhary.
- [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/23
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Jeremy Bennett, 2014/07/24
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Senthil Kumar Selvaraj, 2014/07/24
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/28
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Senthil Kumar Selvaraj, 2014/07/29
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/29
- Re: [avr-gcc-list] GCC plugin for avr-gcc,
Senthil Kumar Selvaraj <=
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/30
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/31
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Jeremy Bennett, 2014/07/31
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/31
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Jeremy Bennett, 2014/07/31
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/31
- Re: [avr-gcc-list] GCC plugin for avr-gcc, Sandeep K Chaudhary, 2014/07/31