From 00fe691ba258b2d9c8d5d85a3dffc0224b426dd8 Mon Sep 17 00:00:00 2001 From: Andrew Coppin Date: Sat, 14 Feb 2009 15:02:34 +0000 Subject: [PATCH] FIX #1891 (describe +RTS --info output in GHC user guide) --- docs/users_guide/runtime_control.xml | 85 +++++++++++++++++++++++++++++++++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/docs/users_guide/runtime_control.xml b/docs/users_guide/runtime_control.xml index 3170f09..d8735e2 100644 --- a/docs/users_guide/runtime_control.xml +++ b/docs/users_guide/runtime_control.xml @@ -1031,7 +1031,90 @@ $ ./a.out +RTS --info ] The information is formatted such that it can be read as a - of type [(String, String)]. + of type [(String, String)]. Currently the following + fields are present: + + + + + GHC RTS + + Is this program linked against the GHC RTS? (Currently + the answer is always yes.) + + + + + GHC version + + The version of GHC used to compile this program. + + + + + RTS way + + The variant (“way”) of the runtime. Possible + values are rts (vanilla), + rts_thr (threaded runtime, i.e. linked using the + -threaded option) and rts_p + (profiling runtime, i.e. linked using the -prof + option). Other variants include t + (ticky-ticky profiling) and dyn (the RTS is + linked in dynamically, i.e. a shared library, rather than statically + linked into the executable itself). + + + + + Target platform + + This is the platform the program is compiled to run on. + + + + + Build platform + + This is the platform where the program was compiled + from. (That is, the target platform of GHC itself.) Ordinarily + this is identical to the target platform. (It could potentially + be different if cross-compiling.) + + + + + Host platform + + This is the platform where GHC itself was compiled. + Again, this would normally be identical to the build and + target platforms. + + + + + Compiler unregistered + + Was this program compiled with an “unregistered” + version of GHC? (I.e., a version of GHC that has no platform-specific + optimisations compiled in, usually because this is a currently + unsupported platform.) This value will usually be no, unless you're + using an experimental build of GHC. + + + + + Tables next to code + + Putting info tables directly next to entry code is a useful + performance optimisation that is not available on all platforms. + This field tells you whether the program has been compiled with + this optimisation. (Usually yes, except on unusual platforms.) + + + + + -- 1.7.10.4