Resolved: [Haskell-cafe] ffi linking problem

jeff p mutjida at gmail.com
Wed May 30 07:59:08 EDT 2007


Hello,

  In case anyone else finds this useful...

  My linking problem was finally resolved by using the -fvia-C flag
when compiling with ghc.

Thanks to Stefan O'Rear who pointed out the possibility and wrote:
>
> Does using -fvia-C help at all?  The C compiler understands header
> files and is sometimes better equipped to resolve things.
>

regards,
  Jeff


More information about the Haskell-Cafe mailing list