[GHC] #7311: -odir option changes .o and .hi names of main source file to Main.hi/o
GHC
cvs-ghc at haskell.org
Mon Oct 22 16:16:35 CEST 2012
#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
More information about the Glasgow-haskell-bugs
mailing list