Changes between Version 5 and Version 6 of Building/Using


Ignore:
Timestamp:
Apr 12, 2007 10:49:57 PM (8 years ago)
Author:
igloo
Comment:

autoreconf -> sh boot

Legend:

Unmodified
Added
Removed
Modified
  • Building/Using

    v5 v6  
    117117Change directory to {{{$(GHC_TOP)}}} and issue the command
    118118{{{
    119 $ autoreconf
     119$ sh boot
    120120}}}
    121121
    122122(with no arguments). This GNU program (recursively) converts
    123123{{{$(GHC_TOP)/configure.ac}}} and {{{$(GHC_TOP)/aclocal.m4}}} to a
    124 shell script called {{{$(GHC_TOP)/configure}}}.  If {{{autoreconf}}}
     124shell script called {{{$(GHC_TOP)/configure}}}.  If {{{boot}}}
    125125bleats that it can't write the file {{{configure}}}, then delete the
    126 latter and try again.  Note that you must use {{{autoreconf}}}, and
    127 not the old {{{autoconf}}}!  If you erroneously use the latter, you'll
     126latter and try again.  Note that you must use {{{sh boot}}}, and
     127not the old {{{autoreconf}}} or {{{autoconf}}}!  If you erroneously
     128use {{{autoreconf}}} then building the libraries will fail, and it
     129you use {{{autoconf}}} you'll
    128130get a message like {{{No rule to make target 'mk/config.h.in'}}}.
    129131
    130132Some parts of the source tree, particularly libraries, have their own
    131 configure script.  {{{autoreconf}}} takes care of that, too, so all
    132 you have to do is calling {{{autoreconf}}} in the top-level directory
     133configure script.  {{{sh boot}}} takes care of that, too, so all
     134you have to do is calling {{{sh boot}}} in the top-level directory
    133135{{{$(GHC_TOP)}}}.
    134136
     
    298300 * Prepare for system configuration:
    299301{{{
    300 $ autoreconf
     302$ sh boot
    301303}}}
    302304  (You can skip this step if you are starting from a source