Changes between Version 64 and Version 65 of Building/Porting
- Timestamp:
- 02/07/12 06:45:58 (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/Porting
v64 v65 142 142 143 143 Copy {{{<T>/includes/ghcautoconf.h}}}, 144 {{{<T>/includes/ DerivedConstants.h}}}, and145 {{{<T>/includes/ GHCConstants.h}}} to {{{<H>/includes}}}.144 {{{<T>/includes/dist-derivedconstants}}}, and 145 {{{<T>/includes/dist-ghcconstants}}} to {{{<H>/includes}}}. 146 146 Note that we are building on the host machine, using the 147 147 target machine's configuration files. This … … 193 193 Put this in `<T>/mk/build.mk`: 194 194 {{{ 195 OMIT_PHASE_0 = YES 196 OMIT_PHASE_1 = YES 195 197 GHC = false 198 GHC_STAGE1 = 196 199 GHC_PKG_INPLACE = 197 200 GHC_CABAL_INPLACE = … … 225 228 You may also need a set of flags and/or libraries different from -lutil -lrt. 226 229 {{{ 227 <T>$ sed -i.bak "s#<H>#<T>#g" inplace/lib/package.conf.d/*.conf */*/package-data.mk */*/*/package-data.mk 228 <T>$ touch -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk compiler/stage*/build/Config.hs compiler/main/Config.hs230 <T>$ sed -i.bak "s#<H>#<T>#g" inplace/lib/package.conf.d/*.conf */*/package-data.mk */*/*/package-data.mk */*/*/*/package-data.mk 231 <T>$ touch -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk */*/*/*/package-data.mk compiler/stage*/build/Config.hs 229 232 }}} 230 233
