On Monday 29 March 2004 03:14 pm, Jan Bandouch wrote: > 2) Whats easier and faster to implement? A shared library (I have a > source file that I link that has no globals and statics and would make a > good lib), or the multi-segmenting? > Both seem to be quite some work (especially without CodeWarrior), and > I'm running a little out of time, as my app should be finished by > wednesday. Well, guess it won't, but anyway, help or tips appreciated.
I think the easiest thing would be to use prc-tools multi-section support. You need to change your Makefile a little, make a .def file, and add an attribute macro to each function proto you would like to exist in a non-default section. I was having pretty good success with that until I ran into unsurmountable issues with a project which does foreground/background operations. I could not fit all functions which I needed to call from a timer/non-global-launch within one 32K section. So I had to go back to using Multilink. I didn't want to use it (i.e. will it work in the future?), but alas, it has saved my bacon once again. My code is now at 4 sections! -- /* Chris Faherty <[EMAIL PROTECTED]> */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
