[fpc-devel] LLVM backend Pascal bindings?

Ryan Joseph genericptr at gmail.com
Sun Nov 14 13:32:27 CET 2021



> On Nov 14, 2021, at 4:58 PM, Jonas Maebe via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
> 
> Afaik there's also a C binding (or at least there used to be one).

There is some c bindings but they seem incomplete, or at least I couldn't figure out how to follow the tutorial using what was provided there.

> 
>> How did Free Pascal/Jonas accomplish this in the LLVM backend?
> 
> FPC generates LLVM IR which is then compiled using clang. It does not link to the LLVM libraries in any way.
> 

That's what I thought but that's certainly beyond the scope of what I could do. :)

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list