We have started to put together a "GHC system library."
At the moment, the library is made of generally-useful bits of the compiler itself.
To use this library, just give a `-syslib ghc' option to GHC, both for compiling and linking.