John: >> I was wondering whether there was any standard way to find HsFFI.h?
Simon: > If you're using GHC, the trick is to use GHC to compile your C code > too because it adds the appropriate -I flag to the gcc command line. And if using Hugs (forthcoming release), use ffihugs to compile your C code: Foo.so: Foo.hs foo.c bar.o ffihugs +G Foo.hs -L"foo.c" -L"bar.o" -L"-lm" You'll also find the file in ${installdir}/lib/hugs/include/HsFFI.h -- Alastair Reid [EMAIL PROTECTED] Reid Consulting (UK) Limited http://www.reid-consulting-uk.ltd.uk/alastair/ _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi