X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FRtsFlags.c;h=e8aefd8fcea57eb26072a0c33ba92c929505b515;hp=4c1f739e894615e8f62948ece354397c18cd31ef;hb=0dfcd5776f3ef89ceaafef6c4730ddac759e3716;hpb=0ee85183fac8129a3c1b890849f32f30fd3940ec 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 {