Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#857 closed bug (fixed)

Patch to porting documentation

Reported by: red5_2@… Owned by:
Priority: normal Milestone:
Component: Documentation Version: 6.4.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Some of the necessary HC files aren't built when following the directions given in the GHC porting guide for cross-compiling. The directions in the following patch to docs/building/building.xml will build the files.

In the lib/compat directory, "make boot" initiates a "make all". The subsequent run of make doesn't do anything, because all the files have been built. To build hc files in this directory, the extra compile flags need to be passed to "make boot".

--- building.xml.old    Wed Aug  9 11:55:06 2006
+++ building.xml        Wed Aug  9 11:56:05 2006
@@ -3087,7 +3087,7 @@
 <screen>$ cd <replaceable>H</replaceable>/ghc/lib/compat
 $ make clean
 $ rm .depend
-$ make boot UseStage1=YES
+$ make boot UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'
 $ make -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'
 $ cd <replaceable>H</replaceable>/ghc/utils
 $ make clean

Change History (3)

comment:1 Changed 10 years ago by simonmar

Resolution: fixed
Status: newclosed

Already fixed in HEAD.

comment:2 Changed 8 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:3 Changed 8 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.