[project @ 2002-04-02 10:27:28 by simonpj]
authorsimonpj <unknown>
Tue, 2 Apr 2002 10:27:28 +0000 (10:27 +0000)
committersimonpj <unknown>
Tue, 2 Apr 2002 10:27:28 +0000 (10:27 +0000)
Comments

mk/config.mk.in

index 66d44ed..a81ff84 100644 (file)
@@ -226,7 +226,7 @@ BuildingParallel=$(subst mp,YES,$(filter mp,$(WAYS)))
 BuildingGranSim=$(subst mg,YES,$(filter mg,$(WAYS)))
 
 #------------------------------------------------------------------------------
-# Options for GHC's Prelude
+# Options for Libraries
 
 # What extra ways to build the libraries in
 # In addition to the normal sequential way, the default is to also build
@@ -262,6 +262,21 @@ DLLized=@EnableWin32DLLs@
 #
 MinimalUnixDeps=@MinimalUnixDeps@
 
+# Strip local symbols from libraries?  This can make the libraries smaller,
+# but makes debugging somewhat more difficult.  Doesn't work with all ld's.
+#
+StripLibraries=NO
+
+
+# ----------------------------------------------------------------------------
+# Object-file splitting
+#
+#      Set SplitObjs=YES or NO in your build.mk
+#
+#      Don't use -split-objs in in GhcLibHcOpts, because the build
+#              system needs to do other special magic if you are
+#              doing object-file splitting
+
 # Don't split object files for libs if we're building DLLs, or booting from
 # .hc files.
 SplitObjs=YES
@@ -276,11 +291,6 @@ ifeq "$(GhcUnregisterised)" "YES"
 SplitObjs=NO
 endif
 
-# Strip local symbols from libraries?  This can make the libraries smaller,
-# but makes debugging somewhat more difficult.  Doesn't work with all ld's.
-#
-StripLibraries=NO
-
 # ----------------------------------------------------------------------------
 # Options for GHC's RTS