On Tue, Apr 7, 2009 at 8:55 PM, Weddington, Eric
<eric.wedding...@atmel.com>wrote:

>
>
> > -----Original Message-----
> > From:
> > avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org
> > [mailto:avr-gcc-list-bounces+eric.weddington<avr-gcc-list-bounces%2Beric.weddington>
> =atmel....@nongnu.
> > org] On Behalf Of John Myers
> > Sent: Tuesday, April 07, 2009 9:05 PM
> > To: David VanHorn
> > Cc: avr-gcc
> > Subject: Re: [avr-gcc-list] ISR function name aliasing?
> >
> > I wanted some ISR's in a library so users would only need to
> > include the pre-compiled library file (lib.a) instead of a
> > few source code files. And then depending on what variables
> > or functions are used the appropriate ISR would be added.
>
> See this:
> <http://www.nongnu.org/avr-libc/user-manual/library.html>
>

Hi Eric,

Thanks for the link, I got the library part under control though. It's the
part were the interrupt vectors can't seem to be linked or aliased to an ISR
in a library.
I noticed the function attributes alias and weakref but they don't work
across different translation units.

-- John
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to