No, I'm compiling the lib as C to use with C code
-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Ben Combee
Envoy� : jeudi 6 janvier 2005 00:38
� : Palm Developer Forum
Objet : Re: ARM static lib
At 02:19 PM 1/5/2005, you wrote:
>Hi,
>
>I'm trying to compile an ARM static library (fdlibm), but if i don't check
>the force C++ compilation box
>the function within are not found when i try to use this lib in a project.
>
>Is this normal ? any config i missed ?
ARM name mangling... if you compiled the library as C code, not C++ code,
then the prototypes for calling the library from your C++ code need to be
surrounded by an
extern "C" {
}
block to tell the compiler that these are C functions.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/