summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-09-19 09:12:22 +0000
committersimonmar <unknown>2003-09-19 09:12:22 +0000
commitfeaf38913aefbc81cfe991a622820931f186e02d (patch)
tree0fb2dd44915b134a7ae6b3d056b2d1e93078ca9d /docs
parent04793e4a7573ff2f02ad2cc59614b66c434874b7 (diff)
downloadhaskell-feaf38913aefbc81cfe991a622820931f186e02d.tar.gz
[project @ 2003-09-19 09:12:22 by simonmar]
Be a bit more honest about how easy it is to port the linker.
Diffstat (limited to 'docs')
-rw-r--r--docs/building/building.sgml11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/building/building.sgml b/docs/building/building.sgml
index df51688004..1fa1656520 100644
--- a/docs/building/building.sgml
+++ b/docs/building/building.sgml
@@ -4093,10 +4093,13 @@ Hello World!
<para>To support GHCi, you need to port the dynamic linker
(<filename>fptools/ghc/rts/Linker.c</filename>). The linker
currently supports the ELF and PEi386 object file formats - if
- your platform uses one of these then you probably don't have
- to do anything except fiddle with the
- <literal>#ifdef</literal>s at the top of
- <filename>Linker.c</filename> to tell it about your OS.</para>
+ your platform uses one of these then things will be
+ significantly easier. The majority of Unix platforms use the
+ ELF format these days. Even so, there are some
+ machine-specific parts of the ELF linker: for example, the
+ code for resolving particular relocation types is
+ machine-specific, so some porting of this code to your
+ architecture will probaly be necessary.</para>
<para>If your system uses a different object file format, then
you have to write a linker &mdash; good luck!</para>