
9 Nov
2008
9 Nov
'08
1:22 a.m.
2008/11/8 Nun Aurbiz
Where do I find the documentation for the FFI for GHC? I've read the FFI report, the GHC user guide and scoured haskell.org but they all gloss over what commands you actually need to give GHC and how to give them. "foreign import blah blah" just gives me undefined references.
You need to give the libraries you are using on the command line just like gcc. ghc --make Foo -lbar Luke