[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: [Haskell-cafe] Dynamically Linking Foreign Functions
From:       Richard Warburton <richard.warburton () gmail ! com>
Date:       2009-12-31 11:27:35
Message-ID: 749b5dd60912310327j20f02d3ewfeac33916de2e297 () mail ! gmail ! com
[Download RAW message or body]

>> 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
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic