Hi Paal,

Most ANSI C library functions are not supported on the Palm OS. Here's a
snippet from the CW for Palm Computing platform FAQ at
http://www.metrowerks.com/pda/palm/faq:

4.5 Can I use ANSI C (or C++) standard libraries on device?

Use of ANSI C/C++ libraries on device is not supported in CodeWarrior for
PalmPilot Release 3 and earlier. Metrowerks has added limited Palm Computing
platform support to MSL (Metrowerks Standard Library, our standard ANSI C
and C++ library implementation) in CodeWarrior for Palm OS Release 4 and
later. Note, however, that console based I/O (the most commonly mentioned
standard lib functionality) will not be supported on device since the Palm
OS itself does not support console I/O.

Please bear in mind that even though MSL supports Palm Computing platform,
extensive use of standard library functions will likely be discouraged. The
standard libraries include a great deal of code. Even though the linker
strips out the unused library functions it does not take the use of many
library functions before your application would begin to grow beyond the
Palm OS-imposed limitations on application size. While these limitations can
be surmounted using the multi-segment applications introduced with CW for
Palm OS R4, large applications are still discouraged due to the limited
storage space available on device.

Hope this helps.

Jun-Kiat Lam
Metrowerks Technical Support


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 30, 1999 6:52 PM
Subject: Link Error. CW. prob.


>
> Hi Folks.
> When I compile I got this link error:
> "Link Error  'strcat'  referenced  from 'function' is undefined"
> I'm using strcat in a function. Have added  #include <stdio.h>
> #include <string.h> and have set the access path in CW to public
> include.
> Have spotted the files there too. now what.
> anyone for help?
>
> Thanks,  Paal.
>
> ----------------------------------------------
> -Nortrade Electronic AS
> -Kirkeveien 25 B
> -1363 Hoevik, Norway
> Tlf: +47 67591124
> Fax: +47 67581843
>
>

Reply via email to