But I am Still confused !!!! Do i have to first create a .bin file in a different project and then use it in my actual project. Is there any documentation which gives step by step explanation of how to build a Native object.
I would be grateful if anyone guides me step by step in this case. Thanks in Advance... bye ----- Original Message ----- From: Ben Combee <[EMAIL PROTECTED]> Date: Fri, 07 May 2004 02:44:10 -0500 To: "Palm Developer Forum" <[EMAIL PROTECTED]> Subject: RE: PNOlet???? > At 12:49 AM 5/7/2004, you wrote: > >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/ -- ______________________________________________ IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes! Powered by Outblaze -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
