Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-03

create share library for C use on ARM problem

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

qsc

hello:

I create a dynamic share library name sample.so use FPC on linux, I load this library use C and success on linux i386 platform,then compile it for arm use ppcarm. but I run c program than report operatingsystem_parameter_argc, operatingsystem_parameter_argv , operatingsystem_parameter_envp, __stkptr, _haltproc, symbols undefined! then I use nm to list symbols in libsample.so , that U is them type. but list symbols in linux-i386 libsample.so (i386) those symbols type are B. why?? how to call library compile with FPC in C on arm linux platform? (FPC v2.0.4)

help!help!
could you help me ???

problem orgin text at http://community.freepascal.org:10000/bboards/message?message_id=270836&forum_id=24083

        qsc
        
          2008-03-10

Reply by email

qsc

hello:

I create a dynamic share library name sample.so use FPC on linux, I load this library use C and success on linux i386 platform, then compile it for arm use ppcarm. but I run c program than report: operatingsystem_parameter_argc,
operatingsystem_parameter_argv ,
operatingsystem_parameter_envp,
__stkptr,
_haltproc,
symbols undefined!
then I use nm to list symbols in libsample.so ,
that U is them type. but list symbols in linux-i386 libsample.so (i386) those symbols type are B.
why?? how to call library compile with FPC in C on arm linux platform? (FPC v2.0.4)

help!help!
could you help me ???

problem orgin text at http://community.freepascal.org:10000/bboards/message?message_id=270836&forum_id=24083

        qsc
        
          2008-03-10

Reply by email