Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
a06978c1
Commit
a06978c1
authored
Jun 17, 2004
by
simonmar
Browse files
[project @ 2004-06-17 13:35:33 by simonmar]
Mention the splitter in the section on porting.
parent
abad5596
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/building/building.sgml
View file @
a06978c1
...
...
@@ -7,7 +7,6 @@
<
title
>
Building
the
Glasgow
Functional
Programming
Tools
Suite
</
title
>
<
author
><
othername
>
The
GHC
Team
</
othername
></
author
>
<
address
><
email
>
glasgow
-
haskell
-&
lcub
;
users
,
bugs
&
rcub
;@
haskell
.
org
</
email
></
address
>
<
pubdate
>
November
2001
</
pubdate
>
<
abstract
>
<
para
>
The
Glasgow
fptools
suite
is
a
collection
of
Functional
...
...
@@ -3994,8 +3993,10 @@ Hello World!</screen>
<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>
...
...
@@ -4025,6 +4026,23 @@ Hello World!</screen>
starting point.</para>
</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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment