[Haskell-cafe] Adding gcc type options with cabal (e.g.
-mno-cygwin)
Don Stewart
dons at galois.com
Mon Feb 4 17:24:12 EST 2008
bbrown:
> 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
ghc-options: -optc-mno-cygwin
cc-options: -mno-cygwin
or
ghc-options: -O2 -Wall
cc-options: -Wall
or via the foo.buildinfo file.
Ghc-options: -optc at CPPFLAGS@
Cc-options: @CPPFLAGS@
Writing a binding to sqlite3?
-- Don
More information about the Haskell-Cafe
mailing list