avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Re: AVR-chat Digest, Vol 19, Issue 2


From: Steve Franks
Subject: [avr-chat] Re: AVR-chat Digest, Vol 19, Issue 2
Date: Tue, 8 Aug 2006 09:36:57 -0700



Are you using true OO (late binding)?  Then it might be the vtables.
So far, we don't have a C++ maintainer for GCC/avr-libc, and thus
nobody ever bothered to teach GCC to place them into flash ROM rather
than RAM.

Joerg,

I think you may have nailed it there - assuming 2-byte function pointers in the vtables, 56 bytes sounds about right for the number of virtuals.  Maybe I'll get off my lazy and change the class into a table of function pointers.  I suppose someone could point me to the approximate location where you specify in the gcc source that the vtables go in rom, probably over my head to fix it, though.

Steve


reply via email to

[Prev in Thread] Current Thread [Next in Thread]