Isaac Jones <[EMAIL PROTECTED]> 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
    -D__GLASGOW_HASKELL__=604  -I/usr/local/lib/ghc-6.4.1/includes
explicitly.  (More generally, you might want to record such arguments
in a little wrapper script that calls cpphs.)

Regards,
    Malcolm
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to