In our previous episode, Fred van Stappen said:
>  I have posted this question in fpc-mailing list but... no answers, so i try 
> here...
> 
> Fpc libraries compiled on freeBSD 64 bit are unusable. (32 bit not tested)
> Python, Java, C and even fpc applications can not use them in freeBSD...

I initially didn't look at it, because you only posted foreign language
examples.

For me, the fpc uses fpc case works fine. mainprogram:

{$linklib liblibtest}

procedure fpctest(); cdecl; external;

begin
 fpctest;
end.

and libtester placed somewhere in the LD_LIBRARY_PATH prints out "OK, it
works".

But the FPC version has these symbols in the main program, maybe you must
make sure that those (operatingsystem*) systems are available from the
mainprogram too and preloaded with the proper values.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to