30 Oct
2002
30 Oct
'02
6:54 p.m.
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
8760
Age (days ago)
8760
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow