How do I create Palm OS static libraries using CodeWarrior?

1.       Create a Palm OS project from the stationeries

2.       Open the Project Settings

3.       Open the Target Settings panel

4.       Set the Post-Linker to None

5.       Open the 68K Target panel

6.       Set the Project Type to Library and Palm OS Library. You should set
the File Name to '<library name>.lib'

7.       Write your library code and its associated header file and include
them in the project.

8.       Build your library. A .lib file will be created.

For an example of how a static library project is set up, check out
StartupCode.mcp in the Palm OS SDK support folder's Libraries/StartupCode/
subfolder.

rgds,
Jun-Kiat Lam
Metrowerks Technical Support

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nitin
FOR Palm
Sent: Friday, July 21, 2000 1:06 AM
To: Palm Developer Forum
Subject: Static Libraries !


Hi All,

Can one make static libraries (that can be linked at compile time with any
other palm project)using MW Code Warrior (version 3.3.2) ?

Thanks

Nitin



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


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

Reply via email to