On Mon, 2008-02-04 at 17:18 -0500, bbrown wrote: > Is there a way to pass misc options to the cabal, ghc process. > > I tried the following: > > extra-libraries: sqlite3 > extra-lib-dirs: C:\cygwin\lib > include-dirs: C:\cygwin\usr\include > ghc-options: -mno-cygwin > > runhaskell Setup.lhs build --ghc-options=-mno-cygwin -v > > No dice, doesn't show up.
Really? That's odd, works for me: $ runhaskell Setup.lhs build --ghc-options=-mno-cygwin -v ... [snip] ... ghc-6.8.2: unrecognised flags: -mno-cygwin Usage: For basic information, try the `--help' option. Also works with runhaskell Setup.lhs configure --ghc-options=-mno-cygwin Works in the sense that it passes the flag through to ghc. Of course I'm on unix and ghc does not recognise that flag. What version of Cabal are you using? Duncan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe