On Tue, 29 May 2001, Rafael R. Sevilla wrote:

> Get the 2.0 SDK as well if you need it.  Apparently your book uses the OLD
> STYLE SDK, which has slightly different type names.  Place it in the Palm
> include dirs and make a symbolic link to it instead of to the 3.5 SDK.

sdk-1, 2, and 3.1 all come with include files only, but they are
not supplied with the libraries, so that the link step fails.  So if
I install in /usr/local/palmdev/ the soft link

sdk -> sdk-2

then I need to copy (or make a soft link) of the 3.5 libs into
sdk-2.0/lib.  If I do so, many of the 2.0 programs actually compile
and link successfully, since 3.5 is "mostly" backwards compatible
with 2.0, until I start using the Fpl* library in 2.0, which is not
present in 3.5.  So I am forced to stick to 3.5 to avoid all that
trouble.

> Oh, and while you're at it, go get a copy of the source code for mathlib.
> It ought to make life easier.

I have it, and it is 2.0 style, so I needed to modify it to get it to work
with 3.5.  So I still need your help.  Do you remember the type renaming
that must be done?  Here are a few, but I am not sure I have gotten
everything correctly:

Word -> UInt16
DWord -> UInt32
Int -> Int16
UInt -> UInt16
Long -> Int32
ULong -> UInt32

Thanks.

PManalastas

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to