summaryrefslogtreecommitdiff
path: root/docs/building
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-09-11 10:35:28 +0000
committersimonmar <unknown>2003-09-11 10:35:28 +0000
commit2955856631b65b622a68c59356f02b8ee3b55244 (patch)
tree8c6e40fe8e4117f1ba8c7f74da00529242845a3b /docs/building
parentdbe5cd5dfae18ed6ee73eb768b92ef857e14c87d (diff)
downloadhaskell-2955856631b65b622a68c59356f02b8ee3b55244.tar.gz
[project @ 2003-09-11 10:35:28 by simonmar]
When setting TARGETPLATFORM, we should also set foo_TARGET_ARCH, bar_TARGET_OS, etc.
Diffstat (limited to 'docs/building')
-rw-r--r--docs/building/building.sgml10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/building/building.sgml b/docs/building/building.sgml
index 4d25aa2998..faeec7270d 100644
--- a/docs/building/building.sgml
+++ b/docs/building/building.sgml
@@ -3829,7 +3829,13 @@ GhcStage2HcOpts = -O -fvia-C -keep-hc-files
<itemizedlist>
<listitem>
<para>change <literal>TARGETPLATFORM</literal>
- appropriately.</para>
+ appropriately, and set the variables involving
+ <literal>TARGET</literal> to the correct values for
+ the target platform. This step is necessary because
+ currently <literal>configure</literal> doesn't cope
+ with specifying different values for the
+ <literal>--host</literal> and
+ <literal>--target</literal> flags.</para>
</listitem>
<listitem>
<para>copy <literal>LeadingUnderscore</literal>
@@ -3837,7 +3843,7 @@ GhcStage2HcOpts = -O -fvia-C -keep-hc-files
</listitem>
</itemizedlist>
</listitem>
-
+
<listitem>
<para>Copy
<filename><replaceable>T</replaceable>/ghc/includes/config.h</filename>