X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=1268da342b29f0f881316c2bc352d8e591887dbb;hb=51cb6efae783acbbd59933a87fd256d26b2f396c;hp=b3d015c58eb0f83db40d72aeb380c63670a4fcaf;hpb=fd9b0b3e33bee9bc7565aaacdf91710216a53f88;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index b3d015c..1268da3 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -128,6 +128,12 @@ ProjectsDontInstall = glafp-utils nofib # IncludeTestDirsInBuild=NO +# +# Which ways should SGML documents be built? +# options are: dvi ps pdf html rtf +# +SGMLDocWays= + ################################################################################ # # GHC project @@ -206,7 +212,7 @@ HaveLibDL = @HaveLibDL@ # Include GHCi in the compiler. Default to NO for the time being. -ifneq "$(findstring $(HostOS_CPP), mingw32 linux solaris2 freebsd netbsd openbsd osf3)" "" +ifneq "$(findstring $(HostOS_CPP), mingw32 linux solaris2 freebsd netbsd openbsd)" "" GhcWithInterpreter=YES ifeq "$(HaveLibDL)" "YES" SRC_HC_OPTS += -ldl @@ -676,7 +682,7 @@ COMPRESS_SUFFIX = @CompressSuffix@ CONTEXT_DIFF = @ContextDiffCmd@ CP = cp -CPP = @CPP@ +CPP = @CPP@ @CPPFLAGS@ CTAGS = $(ETAGS) # # RAWCPP_FLAGS are the flags to give to cpp (viz, gcc -E) to persuade it to @@ -694,6 +700,7 @@ INSTALL := $(subst .././install-sh,$(FPTOOLS_TOP_ABS)/install-sh,$(INSTALL)) LATEX = latex HEVEA = hevea HACHA = hacha +LD = ld LN_S = @LN_S@ MANMACROS = -man MSMACROS = -ms @@ -877,7 +884,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 @@ -953,3 +960,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 +