Can Cabal use GHC's preprocessor?

Brian Smith brianlsmith at gmail.com
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 
this?
 Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/libraries/attachments/20050710/c16a6523/attachment.htm


More information about the Libraries mailing list