Re: [Haskell-cafe] build tools and Cabal

2008-11-26 Thread John Lato
On Tue, Nov 25, 2008 at 8:18 PM, Duncan Coutts <[EMAIL PROTECTED]> wrote: > On Tue, 2008-11-25 at 01:30 +, John Lato wrote: >> Hello, >> >> Cabal allows specifying arguments for tools it recognizes on the >> command line, e.g. >> >> runhaskell Setup.hs configure --c2hs-option=some_option >> >>

Re: [Haskell-cafe] build tools and Cabal

2008-11-25 Thread Duncan Coutts
On Tue, 2008-11-25 at 01:30 +, John Lato wrote: > Hello, > > Cabal allows specifying arguments for tools it recognizes on the > command line, e.g. > > runhaskell Setup.hs configure --c2hs-option=some_option > > Unfortunately, I can't find a way to make this work with .cabal (or > .buildinfo)

[Haskell-cafe] build tools and Cabal

2008-11-24 Thread John Lato
Hello, Cabal allows specifying arguments for tools it recognizes on the command line, e.g. runhaskell Setup.hs configure --c2hs-option=some_option Unfortunately, I can't find a way to make this work with .cabal (or .buildinfo) files, except for the specific cases of ghc, hugs, and nhc98 options.