[Hackage] #865: Can't use command line options containing spaces
Hackage
cvs-ghc at haskell.org
Thu Jul 21 18:20:55 CEST 2011
#865: Can't use command line options containing spaces
----------------------------+-----------------------------------------------
Reporter: bos | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.10.1.0
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
----------------------------+-----------------------------------------------
I found myself wanting the other day to pass some specific RTS options to
GHC on the command line, with those options varying depending on the
version of GHC:
{{{ghc-options: --with-rtsopts="-N -qg"}}}
However, Cabal doesn't tokenize command line options, and GHC doesn't
treat multiple {{{--with-rtsopts}}} arguments as building up a single
string, so I found myself stuck. (I know about the "specify the options in
a {{{.c}}} file, and that's what I did, but it's less elegant.)
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/865>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list