Norman Ramsey wrote:
In light of an upcoming ICFP submission I'm trying to refactor some
back-end code.  Unfortunately with the new build system I haven't figured
out how to make a new file work.  I added compiler/cmm/DFLattice.hs,
and a DFLattice.o gets built all right, but it's not linked with the
other files.  I added the name DFLattice to compiler/ghc.cabal but this
seems not to have helped.

As Max noted, I suspect the problem here is that you changed ghc.cabal, rather than ghc.cabal.in.

What's the right thing to do, and to what wiki page should I add the
answer when I get it?  (I feel like with the new build system the
wiki is somewhat out of date and the deltas are spread around a bit
too widely...)

When we switch to the new build system we should write up some good docs on how to use the build system, and perform simple tasks like this. Right now we're still in limbo a bit because the new build system has not been merged onto the official HEAD, so the docs still need to refer to the old build system. This situation is only temporary, however.

Thanks for trying out the new build system!

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to