[project @ 2001-08-27 14:27:23 by apt]
authorapt <unknown>
Mon, 27 Aug 2001 14:27:23 +0000 (14:27 +0000)
committerapt <unknown>
Mon, 27 Aug 2001 14:27:23 +0000 (14:27 +0000)
document 31-bit core output option settings

mk/config.mk.in

index 8ed5be0..a4f4e2a 100644 (file)
@@ -953,3 +953,23 @@ WAY_n_HC_OPTS=
 
 WAY_o_NAME=
 WAY_o_HC_OPTS=
+
+################################################################################
+#
+#              31-bit-Int Core files
+#
+################################################################################
+
+# 
+# It is possible to configure the compiler and prelude to support 31-bit
+# integers, suitable for a back-end and RTS using a tag bit on a 32-bit
+# architecture.  Currently the only useful output from this option is external Core
+# files.  The following additions to your build.mk will produce the
+# 31-bit core output.  Note that this is *not* just a library "way"; the
+# compiler must be built a special way too.
+
+# GhcCppOpts +=-DWORD_SIZE_IN_BITS=31
+# GhcLibHcOpts +=-fext-core -fno-code -DWORD_SIZE_IN_BITS=31
+# GhcLibCppOpts += -DWORD_SIZE_IN_BITS=31
+# SplitObjs=NO
+