Oops forgot to write that with the extern stuff it works 

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Chris Apers
Envoyé : vendredi 7 janvier 2005 10:02
À : Palm Developer Forum
Objet : RE: ARM static lib

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/

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

Reply via email to