
#14025: Object of a dependent c-file is put in wrong directory when this dependent is specified with a path -------------------------------------+------------------------------------- Reporter: literon | Owner: RolandSenn Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RolandSenn): This bug has nothing to with absolute pathes! As soon as you specify the dep.c with a directory (different from ./) {{{ ghc -odir myodir A.hs subdir/dep.c }}} then GHC will write the dep.o file to myodir/subdir/dep.o . The bug occurs only if the dependent file is a ''*.c'' (or similar) file. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14025#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler