On May 29, 2007, at 23:01 , jeff p wrote:

   myPrompt> ghc --make -fffi f.hs -l mylib.lib

For historical reasons, you can't have a space between the -l and the library name. It's inserting an empty library name into the link command, which is producing the odd "cannot find" error.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to