summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-08-24 21:30:24 +0000
committerIan Lynagh <igloo@earth.li>2007-08-24 21:30:24 +0000
commitfe7bff18c56a8adb6f7044bf4926402b8fc747e2 (patch)
tree4443a4698bd47a4913c20459b27d2cc18aa988ca
parent6fa35a00131040cf7849fabe3af5d28b3542fc79 (diff)
downloadhaskell-fe7bff18c56a8adb6f7044bf4926402b8fc747e2.tar.gz
Add "have interpreter" to the compiler --info output
-rw-r--r--compiler/Makefile1
-rw-r--r--compiler/main/DynFlags.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 18540d7078..b7e9986f90 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 c3b1d618bc..2218f1729b 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),