How do i create a XYZ.bin from a XYZ.c file.?????
The PNO Linker produces a .bin file as its output.
How to include this file into Palm resource.(do i have to create a seperate database or it be included in .prc file)
Three ways:
1) If you use the Palm OS 68K Linker, you can just add the .bin file output from the PNO Linker to your target if its named something like ARMC0001.bin. The linker will pull that data into a resource of type 'ARMC' and ID value 0x0001.
2) You also can pull in the .bin file using a PilRC DATA statement to declare your resource type and ID and pull it in from a named file.
3) If you're using the Mac OS 68K Linker, you can add a .r file to your project which imports the .bin file as a resource.
How can I compile my code for ARM in CW.
That's the job of a separate PACE Native Object target, using the PNO Linker and Compiler.
ALSO if i am reading the resource thru DmGetResource() then What does the line "read 'ARMC' (1000, "Simple ARM code") "armlet-simple.bin";" in the file ARMCode.r mean.
That tell Rez to pull in the file "armlet-simple.bin" and add it as a resource of type 'ARMC' and ID 1000. It will then be linked into the .tmp file, that then gets turned into a .prc file by PalmRez.
-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
