X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fbuilding%2Fbuilding.xml;h=0375c38d0ba26127405c382138fdba1fb89f4bc3;hb=97850bacd6441d9459df0ff105434830f6451d62;hp=f445b37d87ceff8158787a85e1d919be4d018cfb;hpb=b488b59b527511e379174949efc409e8235c8dc7;p=ghc-hetmet.git diff --git a/docs/building/building.xml b/docs/building/building.xml index f445b37..0375c38 100644 --- a/docs/building/building.xml +++ b/docs/building/building.xml @@ -135,7 +135,7 @@ Set your $CVSROOT environment variable to - :pserver:anoncvs@glass.cse.ogi.edu:/cvs + :pserver:anoncvs@cvs.haskell.org:/cvs If you set $CVSROOT in a shell script, be sure not to have any trailing spaces on that line, otherwise CVS will respond with a perplexing message like @@ -3819,7 +3819,19 @@ GhcBootLibs = YES Touch the generated configuration files, just to make sure they don't get replaced during the build: -$ touch H/ghc/includes/{ghcautoconf.h,DerivedConstants.h.GHCConstants.h.mkDerivedConstants.c,mkDerivedConstantsHdr,mkDerivedConstants.o,mkGHCConstants,mkGHCConstants.o} +$ cd H/ghc/includes +$ touch ghcautoconf.h DerivedConstants.h GHCConstants.h mkDerivedConstants.c +$ touch mkDerivedConstantsHdr mkDerivedConstants.o mkGHCConstants mkGHCConstants.o + + Note: it has been reported that these files still get + overwritten during the next stage. We have installed a fix + for this in GHC 6.4.2, but if you are building a version + before that you need to watch out for these files getting + overwritte by the Makefile in + ghc/includes. If your system supports + it, you might be able to prevent it by making them + immutable: +$ chflags uchg ghc/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h} @@ -4996,7 +5008,7 @@ choices, but it gives a single path that works. ; http://www.haskell.org//pipermail/cvs-all/ - mkdir c:/fptools; cd c:/fptools ; (or whereever you want your cvs tree to be) - - export CVSROOT=:pserver:anoncvs@glass.cse.ogi.edu:/cvs + - export CVSROOT=:pserver:anoncvs@cvs.haskell.org:/cvs - cvs login ; pw: cvs - cvs checkout fpconfig @@ -5004,7 +5016,7 @@ choices, but it gives a single path that works. - cvs checkout ghc hslibs libraries - Build ghc, using cygwin and mingw, targetting mingw - - export PATH=/cygdrive/c/ghc/ghc-6.4.1/tools:$PATH + - export PATH=/cygdrive/c/ghc/ghc-6.4.1:$PATH ; for haddock, alex, happy (*) - export PATH=/cygdrive/c/mingw/bin:$PATH ; without, we pick up some cygwin tools at best! @@ -5015,9 +5027,11 @@ choices, but it gives a single path that works. ; we use cygwin, but build for windows - cp mk/build.mk.sample mk/build.mk - in mk/build.mk: + add line: SplitObjs = NO + (MSYS seems slow when there are zillions of object files) uncomment line: BuildFlavour = perf + (or BuildFlavour = devel, if you are doing development) add line: BIN_DIST=1 - add line: SplitObjs = NO - make 2>&1 | tee make.log ; always useful to have a log around