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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
22ebce60
Commit
22ebce60
authored
Mar 04, 2005
by
simonmar
Browse files
[project @ 2005-03-04 13:38:19 by simonmar]
some more wibbles in cross-compiling
parent
caa7c91d
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/building/building.xml
View file @
22ebce60
...
...
@@ -3807,20 +3807,19 @@ GhcBootLibs = YES</programlisting>
<listitem>
<para>
Copy
<filename><replaceable>
T
</replaceable>
/ghc/includes/ghcautoconf.h
</filename>
<filename><replaceable>
T
</replaceable>
/ghc/includes/ghcautoconf.h
</filename>
,
<filename><replaceable>
T
</replaceable>
/ghc/includes/DerivedConstants.h
</filename>
, and
<filename><replaceable>
T
</replaceable>
/ghc/includes/GHCConstants.h
</filename>
to
<filename><replaceable>
H
</replaceable>
/ghc/includes
</filename>
.
Note that we are building on the host machine, using the
target machine's
<literal>
config.h
</literal>
file. This
target machine's
configuration
file
s
. This
is so that the intermediate C files generated here will
be suitable for compiling on the target system.
</para>
</listitem>
<listitem>
<para>
Touch
<literal>
ghcautoconf.h
</literal>
, just to make
sure
i
t do
es
n't get replaced during the build:
</para>
<screen>
$ touch
<replaceable>
H
</replaceable>
/ghc/includes/ghcautoconf.h
</screen>
<para>
Touch
the generated configuration files
, just to make
sure t
hey
don't get replaced during the build:
</para>
<screen>
$ touch
<replaceable>
H
</replaceable>
/ghc/includes/
{
ghcautoconf.h
,DerivedConstants.h,GHCConstants.h}
</screen>
</listitem>
<listitem>
...
...
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