>> 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.

regards,

  Richard

[0] http://www.haskell.org/haskellwiki/Library/libffi#Does_it_work.3F
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to