X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=a4f4e2a90c7f6036fc2fbb31db9f2fdf4870eb67;hb=a5fe1fa0cc018e7f248ec179f9e738b12f77915d;hp=49287dee231ce0f06cc0abb4b881aef19f06d08d;hpb=ce07d9cd394f9b34a181ca63ddc85d741317179d;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 49287de..a4f4e2a 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -877,7 +877,7 @@ USER_WAYS=a b c d e f g h j k l m n o A B # Way 'i': WAY_i_NAME=ILX -WAY_i_HC_OPTS= -filx +WAY_i_HC_OPTS= -filx -fruntime-types # Way 'p': WAY_p_NAME=profiling @@ -936,9 +936,6 @@ WAY_g_HC_OPTS= WAY_h_NAME= WAY_h_HC_OPTS= -WAY_i_NAME= -WAY_i_HC_OPTS= - WAY_j_NAME= WAY_j_HC_OPTS= @@ -956,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 +