Thank you!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Combee
Sent: Monday, September 13, 2004 11:25 PM
To: Palm Developer Forum
Subject: Re: Basic dev question


At 10:20 PM 9/13/2004, you wrote:
>Hi folks. Very basic newbie question here:
>
>Is it true that you start with some source files and then compile and 
>end
>up with a PRC file?

Maybe.  That tends to be the standard process; start with C or C++
source 
code, compile it to object code using your toolset, link that into a 
executable, then convert that to a PRC file along with any resources
that 
are used by your program.

>What are the possible set of source file formats? Are we talking C++,
>Java, text, etc.? What files can you start with?

C/C++ is the most popular form, but you can use all sorts of 
languages.  Ultimately, the PRC file will contain 68K or ARM machine
code 
is the right format that can be understood by Palm OS.

>Is PRC the only target file format?

PRC stands for "Palm Resource Collection", and it's the executable
format 
for Palm OS.  Basically, it's a simple database that maps four-character

resource types and 16-bit resource IDs to chunks of data.

There are also PDB files ("Palm DataBase"), which contain an indexed
list 
of data chunks.  These usually don't contain any program code, but are
just 
used to store data used by a program.

Please read through the Palm OS Companion book, available online at 
http://www.palmos.com/dev/support/docs/palmos/CompanionTOC.html

-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc.
    "Combee on Palm OS" weblog: http://palmos.combee.net/
    Developer Fourm Archives:   http://news.palmos.com/read/all_forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to