patch applied (ghc): Make -split-objs work with --make

Simon Marlow simonmar at microsoft.com
Thu Mar 2 12:07:34 EST 2006


Thu Mar  2 09:05:05 PST 2006  Simon Marlow <simonmar at microsoft.com>
  * Make -split-objs work with --make
  This turned out to be a lot easier than I thought.  Just moving a few
  bits of -split-objs support from the build system into the compiler
  was enough.  The only thing that Cabal needs to do in order to support
  -split-objs now is to pass the names of the split objects rather than
  the monolithic ones to 'ar'.

    M ./ghc/compiler/Makefile +2
    M ./ghc/compiler/main/DriverPhases.hs +1
    M ./ghc/compiler/main/DriverPipeline.hs -19 +50
    M ./mk/target.mk -28


More information about the Cvs-ghc mailing list