[LLVMdev] OS X ffi in config.h

Frits van Bommel fvbommel at gmail.com
Tue Dec 14 05:45:03 PST 2010


On Tue, Dec 14, 2010 at 2:22 PM, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote:
> Ah, --enable-libffi.
>
> Any pointers as why this is not a default check for at least
> UNIX systems? Does Windows have the equivalent?

IIRC it's to stop programs linked to LLVM from accidentally depending on libffi.
If your program links to it without you noticing, a binary
distribution might not run unless the user also has libffi installed.
(This used to happen even for programs that don't use the JIT, but I'm
not sure if that would still be the case)



More information about the llvm-dev mailing list