Add "have interpreter" to the compiler --info output
authorIan Lynagh <igloo@earth.li>
Fri, 24 Aug 2007 21:30:24 +0000 (21:30 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 24 Aug 2007 21:30:24 +0000 (21:30 +0000)
compiler/Makefile
compiler/main/DynFlags.hs

index 18540d7..b7e9986 100644 (file)
@@ -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)
index c3b1d61..2218f17 100644 (file)
@@ -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),