X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsFlags.c;h=4c1f739e894615e8f62948ece354397c18cd31ef;hb=d4050431de1adddedb240e497f77f89301f77070;hp=1e8654ddd8ae9a034f6da5b003d4fe8a622b3a85;hpb=da6ac258d7d8a8b0e03423833cdc78c57d3d39f4;p=ghc-hetmet.git diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 1e8654d..4c1f739 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -684,12 +684,18 @@ error = rtsTrue; } else if (strequal("info", &rts_argv[arg][2])) { + char *s; printf("RTS info:\n"); printf("RTS from GHC " ProjectVersion "\n"); printf("RTS way " RtsWay "\n"); printf("Host platform " HostPlatform "\n"); printf("Build platform " BuildPlatform "\n"); printf("Target platform " TargetPlatform "\n"); + s = strcmp(GhcUnregisterised, "YES") == 0 ? "un" : ""; + printf("Compiler is %sregisterised\n", s); + s = strcmp(GhcEnableTablesNextToCode, "YES") == 0 + ? "" : "not "; + printf("Tables are %snext to code\n", s); exit(0); } else {