From: simonmar Date: Thu, 17 Jun 2004 13:35:33 +0000 (+0000) Subject: [project @ 2004-06-17 13:35:33 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1801 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a06978c14c6f0cfdb797a8428e2fdf2bbddbc8f1;p=ghc-hetmet.git [project @ 2004-06-17 13:35:33 by simonmar] Mention the splitter in the section on porting. --- diff --git a/docs/building/building.sgml b/docs/building/building.sgml index 7b150d8..3f47334 100644 --- a/docs/building/building.sgml +++ b/docs/building/building.sgml @@ -7,7 +7,6 @@ Building the Glasgow Functional Programming Tools Suite The GHC Team
glasgow-haskell-{users,bugs}@haskell.org
-November 2001 The Glasgow fptools suite is a collection of Functional @@ -3994,8 +3993,10 @@ Hello World! The mangler - The mangler is an evil Perl-script that rearranges the - assembly code output from gcc to do two main things: + The mangler is an evil Perl-script + (ghc/driver/mangler/ghc-asm.lprl) that + rearranges the assembly code output from gcc to do two main + things: @@ -4026,6 +4027,23 @@ Hello World! + The splitter + + The splitter is another evil Perl script + (ghc/driver/split/ghc-split.lprl). It + cooperates with the mangler to support object splitting. + Object splitting is what happens when the + 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. + + The splitter has some platform-specific stuff; take a + look and tweak it for your system. + + + The native code generator The native code generator isn't essential to getting a