X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsFlags.c;h=e8aefd8fcea57eb26072a0c33ba92c929505b515;hb=0d88de0b114a391712bc117d42928b49fba4d66a;hp=4c1f739e894615e8f62948ece354397c18cd31ef;hpb=1bd1fb932375bc4b065cc8de23f0d251e8075395;p=ghc-hetmet.git diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 4c1f739..e8aefd8 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -684,18 +684,7 @@ 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); + printRtsInfo(); exit(0); } else {