From: simonpj Date: Tue, 27 May 2003 11:06:41 +0000 (+0000) Subject: [project @ 2003-05-27 11:06:41 by simonpj] X-Git-Tag: Approx_11550_changesets_converted~861 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fcd2f5273fd1b55d505e428d628bf6094421c283;p=ghc-hetmet.git [project @ 2003-05-27 11:06:41 by simonpj] Advise against SplitObjs for Win32 --- diff --git a/docs/building/building.sgml b/docs/building/building.sgml index 27e390b..f7d3217 100644 --- a/docs/building/building.sgml +++ b/docs/building/building.sgml @@ -1721,6 +1721,9 @@ $ make install includes build.mk after config.mk.) + For your convenience, there's a file called build.mk.sample + that can serve as a starting point for your build.mk. + For example, config.mk.in contains the definition: @@ -4472,6 +4475,17 @@ you'll have to do something more like: + You almost certainly want to set + + SplitObjs = NO + +in your build.mk configuration file (see ). +This tells the build system not to split each library into a myriad of little object files, one +for each function. Doing so reduces binary sizes for statically-linked binaries, but on Windows +it dramatically increases the time taken to build the libraries in the first place. + + + Do not attempt to build the documentation. It needs all kinds of wierd Jade stuff that we haven't worked out for Win32.