how to add a file to the compiler
Ben Lippmeier
Ben.Lippmeier at anu.edu.au
Thu Feb 26 01:56:57 EST 2009
try
cd ghc/compiler
make stage=1 boot -r <-- need this one
make stage=1
Otherwise it might need a full ./configure
Ben.
On 26/02/2009, at 3:38 PM, 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.
>
> 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...)
>
>
> Norman
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list