[Haskell-cafe] ffi linking problem

jeff p mutjida at gmail.com
Tue May 29 23:48:18 EDT 2007


Hello,

  Thanks for the tips. I've gotten to the point where linking fails on
an undefined reference. The strange thing about this is that when I
make a C program to call the library function and compile with:

    myPrompt> gcc f.c mylib.lib

everything works fine. I think ghc is using it's own version of gcc
and ld which aren't happy about my library. Does this seem possible?

thanks,
  Jeff


More information about the Haskell-Cafe mailing list