[Haskell-cafe] ffi linking problem
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Tue May 29 23:04:04 EDT 2007
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] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe
mailing list