ghc_extra_opts in package
Simon Marlow
simonmar at microsoft.com
Thu Jun 28 06:20:59 EDT 2001
> Why it is ghc-specific?
> Call it extra_command_line_opts,
>
> and it will not look ghc-specific.
> The lack of extra_command_line_opts is not important,
> but I wonder, why make things worse?
> One handcraft teacher said
> "make it best possible from the start, for it will outcome bad by
> itself".
>
> I thought the idea of -package was to collect in one place all
> the project-specific settings. For example, for my project docon,
> I need
> doconOpts = -fglasgow-exts -fallow-this-and-this ...
>
> Now, the user commands ghc -c $doconOpts -package docon Foo.hs
>
> And with extra_command_line_opts, this will be
>
> ghc -c -package docon Foo.hs
extra_ghc_opts will work in 5.02.
Cheers,
SImon
More information about the Glasgow-haskell-bugs
mailing list