Hello,

If you know how to solve this, would you please help me?

I am using HDirect to call Haskell from C. I tried to use the example in the
"example\server" directory.

I ran: "ihc -s -fhs-to-c --gen-headers -fuse-ints-everywhere
--output-h=MathLib.h"

This creates 2 files: "MathLib.h" & "MathLibProxy.hs"

I tried to compile "tst.c" but I could not since there is nothing inside
MathLib.h, except the declaration of 2 Haskell functions?

Besides, do you know how to use makefile? 
I tried to use "nmake" to compile but it seems that the "Makefile" in that
directory is not right or can not be used with Microsoft Visual C++ 6.0? (I
am using Win98)

Thank you very much for your help!
Phan Dung.

Reply via email to