[Haskell] cabal and ghcconfigure.h
Malcolm.Wallace at cs.york.ac.uk
Tue Dec 6 06:39:02 EST 2005
Isaac Jones <ijones at syntaxpolice.org> writes:
> BTW, does cpphs do anything with ghcconfig.h? Should cabal be adding
> that include path somewhere in the cases where it uses cpphs?
cpphs has no pre-defined macros, and no predefined include paths.
If you want it to pretend to be ghc -cpp, you need to add arguments like
explicitly. (More generally, you might want to record such arguments
in a little wrapper script that calls cpphs.)
More information about the Haskell