[Hackage] #89: Sharing of object files between executable builds?

Hackage cvs-ghc at haskell.org
Tue Jun 1 05:10:06 EDT 2010

#89: Sharing of object files between executable builds?
  Reporter:  bjorn@…             |        Owner:  duncan   
      Type:  enhancement         |       Status:  new      
  Priority:  normal              |    Milestone:  Cabal-1.8
 Component:  Cabal library       |      Version:           
  Severity:  normal              |     Keywords:           
Difficulty:  easy (<4 hours)     |   Ghcversion:  6.4.2    
  Platform:  Linux               |  

Comment(by StephenBlackheath):

 Paul - You have to use the hs-source-dirs: option and make sure you are
 not building your executables in the same directory as your library,
 because GHC will always choose source files in the local directory in
 preference to libraries.  It would certainly be nice to fix this, but it
 would need to be fixed in GHC.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/89#comment:35>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list