[fpc-devel] ABI question PPC, ARM: position of SELF

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Dec 7 18:22:24 CET 2012


On 07 Dec 2012, at 18:10, Martin wrote:

> But today, there is no better way, to use PascalScript in a compiled app. Once a released FPC offers a better way, well great. But till then, I must go the risky way (or not go at all).

Mixing dynamically calling routines whose calling ABI interface is not rigidly defined is broken by design. The proper way would be to generate cdecl wrappers (because the cdecl calling convention is fully specified in the various ABIs) and calling those.


Jonas


More information about the fpc-devel mailing list