Update for GHC 7.4.1 authored by PHO's avatar PHO
...@@ -162,8 +162,8 @@ Edit `<H>/mk/project.mk`: ...@@ -162,8 +162,8 @@ Edit `<H>/mk/project.mk`:
Copy `<T>/includes/ghcautoconf.h`, Copy `<T>/includes/ghcautoconf.h`,
`<T>/includes/DerivedConstants.h`, and `<T>/includes/dist-derivedconstants`, and
`<T>/includes/GHCConstants.h` to `<H>/includes`. `<T>/includes/dist-ghcconstants` to `<H>/includes`.
Note that we are building on the host machine, using the Note that we are building on the host machine, using the
target machine's configuration files. This target machine's configuration files. This
is so that the intermediate C files generated here will is so that the intermediate C files generated here will
...@@ -218,7 +218,10 @@ Unpack `<H>/boot.tar.gz` to `<T>/`. ...@@ -218,7 +218,10 @@ Unpack `<H>/boot.tar.gz` to `<T>/`.
Put this in `<T>/mk/build.mk`: Put this in `<T>/mk/build.mk`:
```wiki ```wiki
OMIT_PHASE_0 = YES
OMIT_PHASE_1 = YES
GHC = false GHC = false
GHC_STAGE1 =
GHC_PKG_INPLACE = GHC_PKG_INPLACE =
GHC_CABAL_INPLACE = GHC_CABAL_INPLACE =
DUMMY_GHC_INPLACE = DUMMY_GHC_INPLACE =
...@@ -255,8 +258,8 @@ Note that if you need some special arguments to configure on you platform (like ...@@ -255,8 +258,8 @@ Note that if you need some special arguments to configure on you platform (like
You may also need a set of flags and/or libraries different from -lutil -lrt. You may also need a set of flags and/or libraries different from -lutil -lrt.
```wiki ```wiki
<T>$ sed -i.bak "s#<H>#<T>#g" inplace/lib/package.conf.d/*.conf */*/package-data.mk */*/*/package-data.mk <T>$ sed -i.bak "s#<H>#<T>#g" inplace/lib/package.conf.d/*.conf */*/package-data.mk */*/*/package-data.mk */*/*/*/package-data.mk
<T>$ touch -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk compiler/stage*/build/Config.hs compiler/main/Config.hs <T>$ touch -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk */*/*/*/package-data.mk compiler/stage*/build/Config.hs
``` ```
... ...
......