[fpc-pascal] FFI or RTTI invoke for Apple arm64

Carlo Kok ck at carlo-kok.com
Wed Sep 2 14:53:45 CEST 2020


On Wed, Sep 2, 2020, at 14:40, Sven Barth via fpc-pascal wrote:
> Carlo Kok via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am Mi., 2. Sep. 2020, 11:09:
>> __
>> 
>> Is there something else I need to do to allow FFI to work on arm64? (Does this depend on a dylib? or a static library?, and do I need to explicitly reference that?)
> 
> You need the libffi library compiled for macOS on ARM ( https://github.com/libffi/libffi ) and then you might need to add a "{$linklibrary ffi}" or so, cause the ffi unit was not set tested on macOS. 
> 

Thanks. It doesn't look like it's officially supported:

https://sourceware.org/libffi/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200902/71d2f1d6/attachment.htm>


More information about the fpc-pascal mailing list