darcs patch: added cppOptions and c2hsOptions

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Apr 20 02:10:08 EDT 2007


On Fri, 2007-04-20 at 16:32 +1200, Vivian McPhail wrote:
> Hi Duncan,
> 
> I added cppOptions because in the Cabal.cabal file there was a comment to
> add cppOptions and so I did it.

Ok.

> With respect to c2hsOptions, the problem is that c2hs passes options to the
> CPP nonstandardly (with --cppopts=), so even if I have an -I* option in my
> ccOptions that gets passed to c2hs, this works for c2hs, but doesn't get
> passed to the cpp that c2hs uses.

Sorry, I still don't see it fully. Could you say exactly what the c2hs
command line is that you use when it works and what command line cabal
uses that does not work (and that your patch solves).

> I've sent a message to the c2hs/cabal mailing list with a dummy package that
> recreates all the problems I had on mingw/WinXP.

I'm not sure that we got this. Could you send it again, perhaps ccing it
to me directly.

Duncan



More information about the cabal-devel mailing list