[fpc-devel] Pascal JIT
ti hory
tihory at outlook.com
Wed May 19 13:01:50 CEST 2021
Hi,
I'm interested in implement a Pascal JIT linker so I implement a COFF 64bit linker and link object files generated by FPC trunk then link them with DLL dependencies like "kernel32.dll" and "user32.dll".
Project source code is available at https://github.com/tihorygit/TheLinker.
Now I have a problem with linking FPC compiler functions like "fpc_initializeunits". After files linked together, some of these functions point to an invalid location in object memory and cause an access violation exception.
I read Pascal TInternalLinker code but didn't find any solution, is anyone experience with linkers to help me or have a solution?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20210519/3c8caf18/attachment.htm>
More information about the fpc-devel
mailing list