[Haskell-cafe] Adding gcc type options with cabal (e.g. -mno-cygwin)

bbrown bbrown at botspiritcompany.com
Mon Feb 4 17:18:22 EST 2008

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.

Berlin Brown
email: berlin-dot-brown-AT-gmail-dot-com

More information about the Haskell-Cafe mailing list