I'm using CodeWarrior for PalmOS release 5, patch 1 under Windows NT 4.0.

I have a large application with two groups of source files.  I have one
CodeWarrior project "foo.mcp" which builds the first group of source files into
a library "foo.lib".  In this project, under the 68K Target settings I have
Project Type = Library, and the PalmOS Library button is set.  This library
contains more than 64K of executable code, so I created a number of segments in
the foo.mcp project and partitioned the object files among them so that each
segment is at most 64K in size.

So far, so good.  I'm able to build foo.lib with no problem.

I now have another CodeWarrior project "app.mcp" which contains several more
source files.  I'd like to link these source files together with "foo.lib" to
make an executable .prc file.  I added "foo.lib" to the "app.mcp" project and
built the project.  Unfortunately, CodeWarrior seems to insist on placing all
the object code from foo.lib into a single segment in app.prc, so I now have a
.prc file which won't load because one of its segments is larger than 64K.  Am I
doing something wrong, or is it just not possible to link in a library which has
more than 64K of code?  It would seem that I've built a library with a number of
different segments, so I don't think it's too much to ask of the CodeWarrior
linker to put those segments separately into the .prc I'm building.

Thanks in advance for any advice.

-adam


Reply via email to