[fpc-devel] RTTI interface & variant late binding issue (mORMot)

Florian Klämpfl florian at freepascal.org
Sat Feb 7 12:34:04 CET 2015

Am 07.02.2015 um 12:14 schrieb Jonas Maebe:
> On 07/02/15 11:58, Florian Klämpfl wrote:
>> Just an idea: What about serializing TCGPara/TCGParalocation?
> The main issue I see with that is that this format changes from time to
> time. I'll probably have to change it again to fully support the ppc64le
> ABI.
> To me, the optimal solution would be to simply use libffi (you would
> only need logic to translate the rtti for the parameter types to libffi
> format, and it would automagically work for all platforms), but since
> that's an external dependency I guess that's not acceptable.

Well, the technical aspect is one thing, but its license is another issue. Violating it happens too

> I'm however
> definitely not looking forward to reimplementing parameter
> passing/loading and calling routines for all platforms again inside the rtl.
> Jonas
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

More information about the fpc-devel mailing list