[Haskell-cafe] Dynamically Linking Foreign Functions

Richard Warburton richard.warburton at gmail.com
Thu Dec 31 06:27:35 EST 2009

>> Problem: I don't understand how I can generate the foreign import
>> statements at runtime.
> there are special C libraries that doest it. one of them is libffi,
> another one (can't recall its name) is used by ghc itself. libffi
> isn't x64-compatible, unlike second one

Thanks a lot.  Though the haskell wiki [0] claims that libffi works on x64.



[0] http://www.haskell.org/haskellwiki/Library/libffi#Does_it_work.3F

More information about the Haskell-Cafe mailing list