> > Is it possible to change the size from 32767 bytes to 65000 bytes
in
> > pilot.ld? The linker complains that the section is full, and I
was
> > wondering if there are technical reasons for the limit.
>
> You can try, but you'll start getting lots more linker errors.
Actually, it linked fine, but poser complained of bus error while
running the app.
> But the 32K limit is irrelevant because extant devices still only
have
> 14K of dynamic heap available, right? (Well, that was definitely
the
> situation last time I was hacking in the linker :-))
Not if you're not using the 32k reserved for the tcp/ip stack.
> The simple answer is of course: why do you have so many globals? It
> can't *all* be vtables! Can't you access some of your global data
> via MemPtrNew and pointers instead?
Actually, a lot of it is vtables. Some of it is globals from the app,
and the rest is stuff pulled in from libgcc (exceptions, rtti, etc.).
To add to that, I've started using the "-mnoshort" option to force
4-byte ints, which increases the size as well. The way I "fixed" it
was to use "-fno-rtti" to remove information being kept for rtti.
Thanks for the info,
Eugene.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/