[fpc-devel] fpc libraries do not work in freeBSD...
Marco van de Voort
marcov at stack.nl
Tue Aug 5 15:34:17 CEST 2014
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.
More information about the fpc-devel
mailing list