Permalink
Browse files

When saying RTS options are disabled, also say how to enable them

  • Loading branch information...
1 parent adf339b commit ef4372dc0ad6232dd36a91c0f4f043de6231aa74 @igfoo igfoo committed Mar 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 rts/RtsFlags.c
View
@@ -418,7 +418,7 @@ setupRtsFlags(int *argc, char *argv[], int *rts_argc, char *rts_argv[])
splitRtsFlags(ghc_rts, rts_argc, rts_argv);
}
else {
- errorBelch("Warning: Ignoring GHCRTS variable");
+ errorBelch("Warning: Ignoring GHCRTS variable as RTS options are disabled.\n Link with -rtsopts to enable them.");
// We don't actually exit, just warn
}
}
@@ -443,7 +443,7 @@ setupRtsFlags(int *argc, char *argv[], int *rts_argc, char *rts_argv[])
mode = RTS;
}
else {
- errorBelch("RTS options are disabled");
+ errorBelch("RTS options are disabled. Link with -rtsopts to enable them.");
stg_exit(EXIT_FAILURE);
}
}

0 comments on commit ef4372d

Please sign in to comment.