Changes between Version 64 and Version 65 of Building/Porting


Ignore:
Timestamp:
Feb 7, 2012 2:45:58 PM (3 years ago)
Author:
PHO
Comment:

Update for GHC 7.4.1

Legend:

Unmodified
Added
Removed
Modified
  • Building/Porting

    v64 v65  
    142142
    143143Copy {{{<T>/includes/ghcautoconf.h}}},
    144 {{{<T>/includes/DerivedConstants.h}}}, and
    145 {{{<T>/includes/GHCConstants.h}}} to {{{<H>/includes}}}.
     144{{{<T>/includes/dist-derivedconstants}}}, and
     145{{{<T>/includes/dist-ghcconstants}}} to {{{<H>/includes}}}.
    146146Note that we are building on the host machine, using the
    147147target machine's configuration files.  This
     
    193193Put this in `<T>/mk/build.mk`:
    194194{{{
     195OMIT_PHASE_0 = YES
     196OMIT_PHASE_1 = YES
    195197GHC = false
     198GHC_STAGE1 =
    196199GHC_PKG_INPLACE =
    197200GHC_CABAL_INPLACE =
     
    225228You may also need a set of flags and/or libraries different from -lutil -lrt.
    226229{{{
    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.hs
     230<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
    229232}}}
    230233