[fpc-pascal] Mangle name in fpc-FreeBSD ?

Sven Barth pascaldragon at googlemail.com
Mon Mar 14 20:00:03 CET 2016

Am 14.03.2016 16:16 schrieb "fredvs" <fiens at hotmail.com>:
> Hello.
> I have problem to access methods from a C library.
> For FreeBSD, the methods cannot be accessed (but ok for Linux and
> In FreeBSD, LoadLibrary(aac.so) is working but all GetProcAdress() for
> method fail.
> I already ask help in FreeBSD forum :
> https://forums.freebsd.org/threads/55305/
> But without luck.
> Could it be that something is wrong with mangle-name of exported methods
> the library in FreeBSD ?

You could check with objdump or nm what the exported symbols look like in
the library. There are some systems that export C functions with a leading
'_' for example.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160314/1cbc1ab3/attachment.html>

More information about the fpc-pascal mailing list