Can Cabal use GHC's preprocessor?

Brian Smith brianlsmith at
Sun Jul 10 23:05:19 EDT 2005

I have some source files which need CPP style preprocessing. Since I am 
using GHC, I would like to automatically use GHC's preprocessor instead of 
having to download and install cpphs. For example, I want to "runghc 
./Setup.hs haddock" without cpphs installed. However, references to cpphs 
are hard-coded into Cabal. What is the best way to go about accomplishing 
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Libraries mailing list