#2295: Combined -odir/-hidir flag
--------------------------------+-------------------------------------------
    Reporter:  NeilMitchell     |       Owner:         
        Type:  feature request  |      Status:  new    
    Priority:  normal           |   Component:  Driver 
     Version:  6.8.2            |    Severity:  minor  
    Keywords:                   |    Testcase:         
Architecture:  Unknown          |          Os:  Unknown
--------------------------------+-------------------------------------------
 Many of my command line invocations are:

 {{{
 ghc -odir obj -hidir obj ...
 }}}

 I nearly always set both {{{-odir}}} and {{{-hidir}}} to the same thing,
 typically to just ask for the temporary files to not crowd the code files.
 It would be useful if there was one combined flag, perhaps {{{-tdir}}}
 (temporary), which gave default values to both {{{-odir}}} and
 {{{-hidir}}}.

 Another option (suggested by quicksilver) is that {{{-hidir}}} could
 default to {{{-odir}}} unless set explicitly - since .hi files are really
 just compiler details, as far as the user is concerned.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2295>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to