Ray Pelletier <[EMAIL PROTECTED]> wrote:
> I answered my own question. If you look at the build-prc
> source files def.y and def.l you see that neither 'database' nor 'data'
> options are allowed. Lovely.
They're not implemented yet. `Data' is mostly part of the shared
library project support, which is a bigger thing that's still in
flux. `Database' is an oversight -- sorry. You can add the one
line needed (`database return DATABASE;') to def.l and rebuild it
yourself if you want.
> The intent is to create a file containing a stand-alone code
> resource which I will manage myself.
It's a pity about the `database' problem because `database natv {
"simple" cdla }' would probably have been enough for this -- `data'
only suppresses a warning. For now, you could just use an application
definition file, and then use par or pilot-file to strip out the extra
resources.
Or another approach is to extract the section manually:
m68k-palmos-objcopy -O binary -R .data -R .bss fred code0001.fred.grc
build-prc -t natv simple.prc simple cdla code0001.fred.grc
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/