logo       

[ ghc-Bugs-996746 ] -odir changes output name of main module: msg#00033

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-996746 ] -odir changes output name of main module

Bugs item #996746, was opened at 2004-07-23 20:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=996746&group_id=8032

Category: Compiler
Group: 6.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Sjögren (msjogren)
Assigned to: Nobody/Anonymous (nobody)
Summary: -odir changes output name of main module

Initial Comment:
When the main module is not named Main.hs, ghc -c
Foo.hs normally creates Foo.hi and Foo.o, but if you
add an -odir flag, ghc will instead produce Foo.hi and
Main.o. This seriously breaks building multiple
executables from the same files but with different main
modules.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=996746&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise