RE: [avr-gcc-list] On getting an ISR leaner with GCC

2008-12-31 Thread Parthasaradhi Nayani

 
 If you look in the avr-libc manual under Frequently Asked 
 Questions you can find FAQ #3: How to permanently bind a 
 variable to a register.
 That allows you to assign particular registers to variables, 
 although care must be used when using the avr-libc library functions.


I had faced a similar situation and some time ago I posted a query
for a similar problem. The manual mentions a single register 
binding and in some cases a pointer may (two registers)
may be required for binding and the manual does not talk about
such binding. Now that this topic is being discussed, I was wondering if 
I can solve my problem!! Thank you.

P. Nayani







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


Re: [avr-gcc-list] cannot find -lgcc

2008-12-31 Thread Steve Franks
On Mon, Dec 29, 2008 at 9:01 AM, dlc d...@frii.com wrote:
 Well tell us then man!

 DLC

 Jan Johansson wrote:

 After a few nights of digging the net for info
 i have resolved the chain of problems.

 thanks to all who answered my questions
 long before i even asked.

 -j

I don't think avr-libc provides libgcc.  I'd be quite suprised if the
solution wasn't just to remove -lgcc from the link command and find
out there weren't actually any uses of the code in libgcc.a  That
would also explain why there were no previous compilation errors,
because the libgcc headers aren't there either, am I right Joerg 
Eric?

Steve


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