AW: Using GHC and FFI
Dominik Oesterreich
dominik at oesterreichnet.de
Fri Jul 16 19:21:42 EDT 2004
>Start GHCi with the following command line:
>ghci -fffi test.lhs project.o
>GHCi should just load the object file, and you shouldn't have a
problem.
Well, I certainly red the GHC Documentation and so I tried all that
things. Fortunately doest it work now.
First I compiled the *.c file with Microsoft C++ 6.0 an took the
projekt.obj file, but it doesn't work. After that I tried gcc, which
created the projekt.o File and I got no errors.
Dominik
More information about the Glasgow-haskell-users
mailing list