[fpc-devel] Compile fpc with llvm
Adriaan van Os
adriaan at adriaan.biz
Sat Jul 18 15:27:15 CEST 2026
With success I have built and used an fpc-3.3.1 based LLVM compiler. The
FPC LLVM Wiki <https://wiki.freepascal.org/LLVM> says that "the compiler
itself on x86-64 is about 10% faster when compiled with LLVM on an Intel
Haswell processor, or 18% if you also enable link-time optimization." I
could not find how to do that (build the compiler itself with llvm) as
it requires starting with an fpc-3.2.2 compiler.
Thanks,
Adriaan van Os
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20260718/9894a1c3/attachment.htm>
More information about the fpc-devel
mailing list