One little trick to extend your app past 32k is to add -lcrt into the line of
your makefile that links your code right before your .o files and libraries.
Also, you may have to rearange your .o files such that none of your code is
making any >32k calls. The linker insterts the functions in the order in which
that are given. One of the things that your not seeing is the fact that it is
setup so it will link a start function first, next your object code, and
finally some default libraries. One of these default libraries is the libcrt.a
library which has functions the start function needs. This may help you keep
going until you get multi-segments going.
Brian
On Sun, 25 Jun 2000 17:09:38 -0700 (PDT), David A. Desrosiers said:
>
> I've hit the wall with one of my applications, where I can go no
> further with it until I go into multiple segments. I tried investigating
> multilink, but building it requries a tool which I don't have:
> m68k-palmos-coff-bfd. I've tried using both toolchains to build this
> application with identical results (incidentally, it took much more
> fidgeting to get prc-tools-2.0 to build than 0.6.0, but that's only a
> matter of time before it's kinks are worked out, I'm sure).
>
> Does anyone have any details that would help me continue to evolve
> this application? I need pointers to how multiple segments in Palm
> applications work, and what I need to watch out for. Can the present
> toolchains deal with segments at this point? I don't use Windows or
> Macintosh, so Cygwin and CW are out of the equation.
>
> Any help given is greatly appreciated. Thanks.
>
>
>
>
> Coding Rates:
> I do it: $120/hr. You watch: $140/hr. You help: $180/hr.
> You tried already: $300/hr.
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/