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

Hackage trac at galois.com
Mon Dec 17 12:02:09 EST 2007

#89: Sharing of object files between executable builds?
  Reporter:  bjorn at bringert.net     |        Owner:  ijones
      Type:  enhancement            |       Status:  new   
  Priority:  low                    |    Milestone:        
 Component:  Cabal                  |      Version:        
  Severity:  minor                  |   Resolution:        
  Keywords:  jgoerzen at complete.org  |   Difficulty:  normal
Ghcversion:  6.4.2                  |     Platform:  Linux 
Comment (by guest):

 I can't remember if this is already the case, but I think things are much
 simpler if Cabal only operates on files under dist/, e.g. dist/src/library
 and dist/src/executable3 for the library and the 3rd executable.

 That way we don't have to worry about GHC making files like Foo_stub.c in
 the user's directory, that we'd then have to clean up later, nor do we
 have to worry about it finding the wrong files in the above case. We just
 have to remember which modules are in the library and not copy them into

 Ian Lynagh

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

More information about the cabal-devel mailing list