> 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@stargate:~$ ghc --print-libdir > /usr/lib/ghc-5.04.2 > michaelw@stargate:~$
Thanks, I forgot I'd added that flag :-) > so: > > 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 $libdir/include Cheers, Simon _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi