[Haskell-cafe] ffi linking problem

jeff p mutjida at gmail.com
Tue May 29 23:01:39 EDT 2007


Hello,

  Can anyone give me some tips concerning the following error:

    myPrompt> ghc --make -fffi f.hs -l mylib.lib
    ghc --make -fffi f.hs -l mylib.lib
    [1 of 1] Compiling Main             ( f.hs, f.o )
    Linking f.exe ...
    d:\ghc\ghc6.6\gcc-lib\ld.exe: cannot find -l-Ld:/ghc/ghc6.6
    collect2: ld returned 1 exit status

thanks,
  Jeff


More information about the Haskell-Cafe mailing list