2008/11/8 Nun Aurbiz <[EMAIL PROTECTED]>: > 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 _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
