[fpc-pascal] fpc and boehm

Daniël Mantione daniel.mantione at freepascal.org
Sun Aug 26 15:00:11 CEST 2007



Op Sun, 26 Aug 2007, schreef blackdog:

> 
> Hi Daniël
> 
> Thanks for the quick reply. I don't necessarily want fpc to interact
> with boehm directly by redirecting the memory manager calls, however now
> that you've mentioned it could be a solution, my question is should
> an fpc .so be a direct replacement for a C .so?

An FPC .so can be a perfect replacement for a C .so. I'm not aware of 
limitations.

> Can you think of any
> reason when that would not be the case - apart from bad translation of
> header files. For example, neko uses dlopen with RTLD_LAZY to load
> the .so, does fpc expect RTLD_NOW or anything like that?

No, it should work.

Daniël


More information about the fpc-pascal mailing list