[avr-gcc-list] ABI C/C++

2008-10-18 Thread John Myers
I've just started looking into the internals of gcc so I'm not sure how much these questions will make sense... How does the ABI referenced for the libstdc++ relate to the AVR? If a libstdc++ were created for the AVR would it follow this ABI or does the avr-gcc need to do it differently? What

[avr-gcc-list] ISR function name aliasing?

2009-04-05 Thread John Myers
I have an ISR in a library. I want to be able to compile the ISR with a generic target and not have the ISR name tied to a specific interrupt vector. I want to be able to add the library with the ISR to a project and then have the ISR function name aliased or linked to the appropriate vector that

Re: [avr-gcc-list] ISR function name aliasing?

2009-04-07 Thread John Myers
It looks like I can use ISR_ALIAS(XXX_vect,my_isr) which creates in extra jump instruction to the ISR. although I wanted to avoid any extra overhead. On Mon, Apr 6, 2009 at 9:15 PM, Joerg Wunsch j...@uriah.heep.sax.de wrote: John Myers atomicdog@gmail.com wrote: I have an ISR

Re: [avr-gcc-list] ISR function name aliasing?

2009-04-07 Thread John Myers
...@mobilefusioninc.comwrote: On Mon, Apr 6, 2009 at 12:29 AM, John Myers atomicdog@gmail.comwrote: I have an ISR in a library. I want to be able to compile the ISR with a generic target and not have the ISR name tied to a specific interrupt vector. I want to be able to add the library

Re: [avr-gcc-list] ISR function name aliasing?

2009-04-07 Thread John Myers
] 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

Re: [avr-gcc-list] issues with struct and volatile

2009-07-23 Thread John Myers
Can you show us the '.lss' or '.lst' file of the while loop when complied with -Os? ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] passing pointers to functions

2009-11-07 Thread John Myers
It may be because ptr2func is not declared before the prototype. Try putting the typedef of ptr2func in the header file above the prototypes. --John On Sat, Nov 7, 2009 at 12:07 PM, don clay donc...@earthlink.net wrote: I have been having difficulty passing a function pointer in a function

Re: [avr-gcc-list] General compiler question with AVR-GCC and programmer notepad

2010-04-22 Thread John Myers
This isn't a Programmers Notepad issue. The make program can't find were the gcc program is. You need to either add the cygwin programs to your PATH or add the full path to the CC variable. On Thu, Apr 22, 2010 at 12:24 PM, James O'Day jo...@iwakiamerica.comwrote: Hi ! I have a general

Re: [avr-gcc-list] newbie needs setup instructions

2011-02-27 Thread John Myers
Hi Ernesto, www.avrfreaks.net has sticky post with a script to build avr-gcc. Doing an apt-get may not give you a version with the newest patches. This site [ http://www.wrightflyer.co.uk/avr-gcc/ ] has .deb files that were build from the scripts at avrfreaks.net [

Re: [avr-gcc-list] Re: an idea: adding serial sram to avr to extendheap storage

2011-03-15 Thread John Myers
On Tue, Mar 15, 2011 at 7:25 AM, 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=atmel@nongnu.org] On Behalf Of Administrator Sent: Tuesday,

Re: [avr-gcc-list] Re: an idea: adding serial sram to avr to extendheap storage

2011-03-15 Thread John Myers
On Tue, Mar 15, 2011 at 10:34 AM, Weddington, Eric eric.wedding...@atmel.com wrote: -Original Message- From: John Myers [mailto:atomicdog@gmail.com] Sent: Tuesday, March 15, 2011 11:10 AM To: Weddington, Eric Cc: Administrator; avr-gcc-list@nongnu.org Subject: Re: [avr