location of HsFFI.h?
simonmar at microsoft.com
Wed Oct 30 05:54:46 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
> michaelw at stargate:~$
Thanks, I forgot I'd added that flag :-)
> GHC_INCLUDES := $(shell ghc --print-libdir)/include
> might help.
More correctly, the directory relative to $libdir is found by:
$ ghc-pkg --show-package rts --field include_dirs
More information about the FFI