diff options
author | Ian Lynagh <igloo@earth.li> | 2010-03-15 17:35:41 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-03-15 17:35:41 +0000 |
commit | ef4372dc0ad6232dd36a91c0f4f043de6231aa74 (patch) | |
tree | f3d071c05f347c5108495817b38bf1278b6a6efe /rts/RtsFlags.c | |
parent | adf339b2f7fefe396ab5e78206c263830c9702f7 (diff) | |
download | haskell-ef4372dc0ad6232dd36a91c0f4f043de6231aa74.tar.gz |
When saying RTS options are disabled, also say how to enable them2010-03-16
Diffstat (limited to 'rts/RtsFlags.c')
-rw-r--r-- | rts/RtsFlags.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 790bf426c2..93482f50b4 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -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); } } |