From fe7bff18c56a8adb6f7044bf4926402b8fc747e2 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 24 Aug 2007 21:30:24 +0000 Subject: [PATCH] Add "have interpreter" to the compiler --info output --- compiler/Makefile | 1 + compiler/main/DynFlags.hs | 1 + 2 files changed, 2 insertions(+) diff --git a/compiler/Makefile b/compiler/Makefile index 18540d7..b7e9986 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -227,6 +227,7 @@ $(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk @echo "cStage = STAGE" >> $(CONFIG_HS) @echo "cHscIfaceFileVersion = \"$(HscIfaceFileVersion)\"" >> $(CONFIG_HS) @echo "cSplitObjs = \"$(SplitObjs)\"" >> $(CONFIG_HS) + @echo "cGhcWithInterpreter = \"$(GhcWithInterpreter)\"" >> $(CONFIG_HS) @echo "cGhcWithNativeCodeGen = \"$(GhcWithNativeCodeGen)\"" >> $(CONFIG_HS) @echo "cGhcUnregisterised = \"$(GhcUnregisterised)\"" >> $(CONFIG_HS) @echo "cGhcEnableTablesNextToCode = \"$(GhcEnableTablesNextToCode)\"" >> $(CONFIG_HS) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index c3b1d61..2218f17 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1682,6 +1682,7 @@ compilerInfo = [("Project name", cProjectName), ("Booter version", cBooterVersion), ("Stage", cStage), ("Interface file version", cHscIfaceFileVersion), + ("Have interpreter", cGhcWithInterpreter), ("Object splitting", cSplitObjs), ("Have native code generator", cGhcWithNativeCodeGen), ("Unregisterised", cGhcUnregisterised), -- 1.7.10.4