
31 Dec
2009
31 Dec
'09
11:27 a.m.
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