Stefan O'Rear stefanor at cox.net
Tue Jul 24 17:01:07 EDT 2007

On Tue, Jul 24, 2007 at 01:21:00PM -0700, Greg Fitzgerald wrote:
> I notice that some of GHC's command-line parameters do not work from within
> the OPTIONS_GHC pragma (6.6.1 on Windows).  I can see how that makes sense
> for some parameters like "--make", but what about "-i" and "-v"?  Is this
> intentional or a bug?
> Can't specify the include path:
> {-# OPTIONS_GHC -iMyDir #-}
> Can't compile a single file in 'verbose' mode:
> {-# OPTIONS_GHC -v #-}
> Thanks,
> Greg

It's quite intentional, and documented.


(that said, more parameters are static than really should be, esp in
older versions of GHC)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20070724/d931410d/attachment.bin

More information about the Glasgow-haskell-users mailing list