In article <84508@palm-dev-forum>, [EMAIL PROTECTED] says... > > Thanks, I have solved my initial problem, but now I have a different issue, > not necessarily related to C++. > > I have a third party static library I would like to link with in my shared > library. The static library alone is about 78K in size. Is there anyway I > can do this in my shared library. Everything I have tried gives me either > "more than code segment" errors or "illegal single segment references".
Your code is exceeding 64K, and you have functions that are more than 32K from your dispatch table. It sounds like you're going to have big problems linking that static library into your shared library. I'm written at my site about some ideas for doing multisegment shared libraries, but I've not implemented any of them just yet. With the current CodeWarrior V8 tools, you'll have to look into a scheme of building multiple code segments and then linking them together manually at runtime, perhaps by mulitple dispatch tables. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
