> From: Jun-Kiat Lam [mailto:[EMAIL PROTECTED]]
> There is a #pragma segment <name> (it's described in the 
> Targeting Palm OS docs, page 46 and MSL C Reference).
> The pragma places all functions that
> follow into the code segment named <name>.

But the original question was about a 3rd party static library (.lib)
without access to the source, so the pragma can't be used.  He apparently
wants to disperse various library functions into different segments in his
app to keep his segment sizes within bounds.

It sounds like what is needed is some sort of tool that can decompose a .lib
library file back into individual object files (or into separate smaller
.lib files, since CW doesn't have explicit .obj files) which could then be
linked into the desired segments individually.

Does such a tool exist?  I'd think it would, at least on Mac.

-slj-


Reply via email to