diff options
author | Ian Lynagh <igloo@earth.li> | 2007-07-23 10:01:35 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-07-23 10:01:35 +0000 |
commit | 1bd1fb932375bc4b065cc8de23f0d251e8075395 (patch) | |
tree | 4005d7c7a571c800fdda10d874e6f79485970a50 /rts/RtsFlags.c | |
parent | da6ac258d7d8a8b0e03423833cdc78c57d3d39f4 (diff) | |
download | haskell-1bd1fb932375bc4b065cc8de23f0d251e8075395.tar.gz |
Add unreg/tables-next-code output to +RTS --info
Diffstat (limited to 'rts/RtsFlags.c')
-rw-r--r-- | rts/RtsFlags.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 1e8654ddd8..4c1f739e89 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 { |