[Haskell-cafe] Adding gcc type options with cabal (e.g.
-mno-cygwin)
bbrown
bbrown at botspiritcompany.com
Mon Feb 4 17:27:30 EST 2008
On Mon, 4 Feb 2008 14:24:12 -0800, Don Stewart wrote
> 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
> Writing a binding to sqlite3?
No, one already exists. Trying to compile that one. My googling powers are
crippled with haskell. I couldn't find how to add those options.
Thanks for the quick response.
--
Berlin Brown
email: berlin-dot-brown-AT-gmail-dot-com
http://botspiritcompany.com/botlist/
More information about the Haskell-Cafe
mailing list