README - Building libmal.prc MetroWerks CodeWarrior.
===================================================

The project file tells CodeWarrior to build libmal.prc as an
application. This is a lie we use to get CodeWarrior to provide
multiple segments and global data support. libmultirt.lib in the
../system directory replaces the standard MetroWerks startup code for
an application to be startup code for a system library.

There is one thing that CodeWarrior won't do for you. The primary code
resource for a library is type 'libr', id 0. For an application, the
primary code resource is type 'code', id 1 - this is what CodeWarrior
generates. So, you must manually convert the 'code0001' resource to we
'libr0000'. At the moment I use Insider to do this in the device. This
is clearly not great, and we'll have something better soon.

- djw@avantgo.com
