OPTIONS_GHC -iMyDir

Greg Fitzgerald garious at gmail.com
Tue Jul 24 16:21:00 EDT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20070724/f25ac82b/attachment.htm


More information about the Glasgow-haskell-users mailing list