summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-08-25 01:57:54 +0000
committerIan Lynagh <igloo@earth.li>2007-08-25 01:57:54 +0000
commit0b9530245a33b8206ca38b9de6dfb01e056fd8dc (patch)
tree11c85586a94785d8c9b1cc685b66db6b28373d95
parent2d2393de269d8c5c9043a047e6ca652f64358610 (diff)
downloadhaskell-0b9530245a33b8206ca38b9de6dfb01e056fd8dc.tar.gz
Add "Support SMP" and "RTS ways" to the compiler --info output
-rw-r--r--compiler/Makefile2
-rw-r--r--compiler/main/DynFlags.hs2
2 files changed, 4 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index b7e9986f90..50c16f48e4 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -229,6 +229,8 @@ $(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk
@echo "cSplitObjs = \"$(SplitObjs)\"" >> $(CONFIG_HS)
@echo "cGhcWithInterpreter = \"$(GhcWithInterpreter)\"" >> $(CONFIG_HS)
@echo "cGhcWithNativeCodeGen = \"$(GhcWithNativeCodeGen)\"" >> $(CONFIG_HS)
+ @echo "cGhcWithSMP = \"$(GhcWithSMP)\"" >> $(CONFIG_HS)
+ @echo "cGhcRTSWays = \"$(GhcRTSWays)\"" >> $(CONFIG_HS)
@echo "cGhcUnregisterised = \"$(GhcUnregisterised)\"" >> $(CONFIG_HS)
@echo "cGhcEnableTablesNextToCode = \"$(GhcEnableTablesNextToCode)\"" >> $(CONFIG_HS)
@echo "cLeadingUnderscore = \"$(LeadingUnderscore)\"" >> $(CONFIG_HS)
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 2218f1729b..8297067b70 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -1685,8 +1685,10 @@ compilerInfo = [("Project name", cProjectName),
("Have interpreter", cGhcWithInterpreter),
("Object splitting", cSplitObjs),
("Have native code generator", cGhcWithNativeCodeGen),
+ ("Support SMP", cGhcWithSMP),
("Unregisterised", cGhcUnregisterised),
("Tables next to code", cGhcEnableTablesNextToCode),
("Win32 DLLs", cEnableWin32DLLs),
+ ("RTS ways", cGhcRTSWays),
("Leading underscore", cLeadingUnderscore)]