Title Shared Libraries for GHC
Student Clemens Fruhwirth
Mentor Simon Marlow
Abstract
The Glasgow Haskell Compiler (GHC) links the executables it produces statically to Haskell packages. This not only wastes disk space but also leads to an increased loading time for the program itself and GHC Interactive.

This application is about making GHC able to link to shared libraries of Haskell packages, reducing disk usage and loading time. Shared libraries are also shared in memory by Linux, hence the effective memory usage of a set of concurrently running Haskell programs is reduced.

Requirements for shared libraries in GHC:
1. Build object code as relocatable PIC code.
2. Link PIC object into shared libraries.
3. Patch GHC to make use of this shared libraries when producing exectuables.