#7311: -odir option changes .o and .hi names of main source file to Main.hi/o
-------------------------------+--------------------------------------------
  Reporter:  slyfox            |          Owner:                  
      Type:  bug               |         Status:  closed          
  Priority:  normal            |      Milestone:                  
 Component:  Compiler          |        Version:  7.6.1           
Resolution:  wontfix           |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => wontfix


Comment:

 This is the intended behaviour, and it is documented:
 [http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-
 compilation.html#output-files].

 Consider this:

 {{{
   $ ghc -odir out ../src/foo.hs
 }}}

 where do you want the object file to go?

 If you're using `-odir`, why not put the output files in separate
 directories?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7311#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to