Are you talking about a static lib or a shared lib? Assuming you are
referring to a static lib, here are the steps:

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]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, March 17, 2000 12:54 PM
Subject: Library : How to write .Lib file?


>
>
>
> Hello friends,
> can I have my own Library of My Functions. What is the exact procedure /
> settings that I'll have to do/make in order to get my own custum library.
> (i.e.    .lib file)
>
> Any guidance is most welcome... n Thanx in Advance.
>
> MAbhijit
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to