Flag to get information about the compiler and RTS
There should be a flag +RTS -foo
that prints info including:
- The version of GHC used to compile the program
- The sort of RTS linked against
- What (canonicalised) platform it was built for, i.e., powerpc-apple-darwin8.10.0
There should also be a flag that can be given to the compiler that prints info including:
- Whether it has a NCG
- Whether or not it is registerised
- Whether it supports ghci/ghc -e
- What RTSs it has
- Whether it supports SMP
Ideally this would all be easily machine-parseable.