location of HsFFI.h?

Michael Weber michaelw at foldr.org
Wed Oct 30 04:29:52 EST 2002


On Wed, Oct 30, 2002 at 09:12:01AM -0000, Simon Marlow wrote:
> If this isn't possible, then you can extract the information from the
> output of 'ghc -v'.  The relevant directory is in the include_dirs field
> of the rts package.
                          
	michaelw at stargate:~$ ghc --print-libdir
	/usr/lib/ghc-5.04.2
	michaelw at stargate:~$

so:

	GHC_INCLUDES := $(shell ghc --print-libdir)/include

might help.



Cheers,
M/



More information about the FFI mailing list