In prc-tools 0.5.0, the code segment is limited to 32k. More
accurately, each jump uses a signed 16-bit offset, and gcc isn't smart
enough to lay out the code so that all jumps fit within that range, so
it just uses a 32k code segment. If you follow the directions at
http://www.geocities.com/SiliconValley/Lab/9981/gcctech.htm
you can raise the limit to 64k. A simpler way is to use MultiLink:
http://www.djw.org/product/palm/multilink/
which gives you effectively unlimited code space, although it
inexplicably refuses to work for me (others have used it with no
problems, so give it a shot). All of this becomes moot when the next
release of prc-tools comes out (rumored to be at PalmSource, two weeks
from now), which will support multiple code segments and a host of other
improvements.
-Ben
--
Ben Darnell [EMAIL PROTECTED]
http://www4.ncsu.edu/~bgdarnel/thoughtstream/