ghci doesn't run FFi'd code which works under ghc on WinXP
simonmarhaskell at gmail.com
Thu Apr 5 05:23:58 EDT 2007
Vivian McPhail wrote:
> Hi All,
> I wrote a binding to matlab matrix.h and mat.h. My test program works
> when I compile a binary, but when I try to use the code in ghci nothing
> happens. There are no error messages, but all computations return a
> blank line.
> Does this fall into a known class of error?
> I can provide my source code, but because of licensing requirements I
> can't provide the .dll's against which the code is linked.
I can't think of a reason off-hand why this would happen. Could you investigate
deeper by adding traces into your code? If you can boil down a small example
that doesn't have licensing restrictions, please submit it as a bug report.
More information about the Glasgow-haskell-users