X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=1268da342b29f0f881316c2bc352d8e591887dbb;hb=51cb6efae783acbbd59933a87fd256d26b2f396c;hp=3c8dc069789acf16101adb86852e9af3d77f432a;hpb=a6e4c7f78c220055768c63ed6098f3ebde36dba7;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 3c8dc06..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 @@ -795,6 +802,12 @@ GREENCARD = $(FPTOOLS_TOP)/green-card/src/green-card BLD_DLL = dllwrap # +# .NET support software +# +ILX2IL = ilx2il +ILASM = ilasm + +# # Happy # HAPPY = @HappyCmd@ @@ -859,7 +872,7 @@ HSC2HS = $(HSC2HS_PREFIX)hsc2hs-inplace # The ways currently defined. # ALL_WAYS=p t u s mp mg a b c d e f g h i j k l m n o A B -USER_WAYS=a b c d e f g h i j k l m n o A B +USER_WAYS=a b c d e f g h j k l m n o A B # # The following ways currently have treated specially, p u t mg, @@ -869,6 +882,10 @@ USER_WAYS=a b c d e f g h i j k l m n o A B # # If you want to add to these default options, fill in the variables below: +# Way 'i': +WAY_i_NAME=ILX +WAY_i_HC_OPTS= -filx -fruntime-types + # Way 'p': WAY_p_NAME=profiling WAY_p_HC_OPTS= -prof @@ -926,9 +943,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= @@ -946,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 +