I am getting close to the 32KB code size limit, and may have to go 
multi-segment.  The GCC manual documents the __atribute__ ((section)) 
directive quite well for C programs, and not at all for C++, especially when 
using templates.

1. Can I put a section directive on a CLASS, intending that all methods
   in the class end up in the indicated section?  Or do I have to
   annotate each method separately?
2. Can I put a section directive on a TEMPLATE class, intending that all
   classes instantiated from the template will inherit the section
   directive?

Anyone ever tried this?  Or is C++ under prc-tools generally considered too 
ambitious?




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to