<title>Building the Glasgow Functional Programming Tools Suite</title>
<author><othername>The GHC Team</othername></author>
<address><email>glasgow-haskell-{users,bugs}@haskell.org</email></address>
-<pubdate>November 2001</pubdate>
<abstract>
<para>The Glasgow fptools suite is a collection of Functional
<sect3 id="sec-mangler">
<title>The mangler</title>
- <para>The mangler is an evil Perl-script that rearranges the
- assembly code output from gcc to do two main things:</para>
+ <para>The mangler is an evil Perl-script
+ (<filename>ghc/driver/mangler/ghc-asm.lprl</filename>) that
+ rearranges the assembly code output from gcc to do two main
+ things:</para>
<itemizedlist>
<listitem>
</sect3>
<sect3>
+ <title>The splitter</title>
+
+ <para>The splitter is another evil Perl script
+ (<filename>ghc/driver/split/ghc-split.lprl</filename>). It
+ cooperates with the mangler to support object splitting.
+ Object splitting is what happens when the
+ <option>-split-objs</option> option is passed to GHC: the
+ object file is split into many smaller objects. This feature
+ is used when building libraries, so that a program statically
+ linked against the library will pull in less of the
+ library.</para>
+
+ <para>The splitter has some platform-specific stuff; take a
+ look and tweak it for your system.</para>
+ </sect3>
+
+ <sect3>
<title>The native code generator</title>
<para>The native code generator isn't essential to getting a