[Haskell-cafe] Adding gcc type options with cabal (e.g.
berlin.brown at gmail.com
Tue Feb 5 00:10:08 EST 2008
On Feb 4, 2008 5:55 PM, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:
> 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
> 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?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
It looked like it passed the option, but didn't resolve the issue.
Anyone seen that before? See error in previous post.
More information about the Haskell-Cafe