Jim Schram writes:
> At 12:54 PM +0200 2000/01/12, Margus Freudenthal wrote:
>>Is there a way to create GCC shared libraries that are bigger than 64
>>KB?
> 
> You'll have to do a lot of work yourself. Palm OS shared libraries may
> contain up to 64k of code, in a single segment. Beyond that, you'll have
> to implement the multi-segment loading, dispatching, and globals
> management explicitly.

If, on the other hand, Margus means *GLib* shared libraries, there is less
work involved.

The new versions of prc-tools handle multiple code sections, doing the
loading and dispatching automatically, using a technique which requires
global data.  GLibs have their own global data and manage it automatically,
and there is no reason in principle why you couldn't build a multiple
code resource GLib, though all the entry point functions would have to
be in the main code resource.

The fly in the ointment is that the version of prc-tools which
supports multiple code resources currently doesn't support GLibs.
Fixing this shouldn't been too much trouble, and Michael Sokolov
<[EMAIL PROTECTED]> has already done it, or something
similar.

So I guess the short answer is "No, but there will be".  :-(

    John

Reply via email to