On Feb 4, 2008 5:55 PM, Duncan Coutts <[EMAIL PROTECTED]> 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
> ...
> [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
>

It looked like it passed the option, but didn't resolve the issue.
Anyone seen that before?  See error in previous post.

-- 
Berlin Brown
http://botspiritcompany.com/botlist/spring/help/about.html
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to