December 31, 2004

Copying a GHC build directory requires a little bit more

My previous entry "Making a copy of a complete build of GHC" was missing some very important steps. In turns out that the various "inplace" scripts e.g. ghc-inplace, ghc-pkg-inplace contained the old paths of the build tree. I suggest just deleting them as they are recreated by the build system in the blink of an eye. Just add the following step:

rm `find . -name '*-inplace'`

I have updated the old entry so that it no longer omits this information. Go there for complete instructions on how to copy a GHC build tree.