Changes between Version 5 and Version 6 of Building/Using
- Timestamp:
- 04/12/07 15:49:57 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/Using
v5 v6 117 117 Change directory to {{{$(GHC_TOP)}}} and issue the command 118 118 {{{ 119 $ autoreconf119 $ sh boot 120 120 }}} 121 121 122 122 (with no arguments). This GNU program (recursively) converts 123 123 {{{$(GHC_TOP)/configure.ac}}} and {{{$(GHC_TOP)/aclocal.m4}}} to a 124 shell script called {{{$(GHC_TOP)/configure}}}. If {{{ autoreconf}}}124 shell script called {{{$(GHC_TOP)/configure}}}. If {{{boot}}} 125 125 bleats 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 126 latter and try again. Note that you must use {{{sh boot}}}, and 127 not the old {{{autoreconf}}} or {{{autoconf}}}! If you erroneously 128 use {{{autoreconf}}} then building the libraries will fail, and it 129 you use {{{autoconf}}} you'll 128 130 get a message like {{{No rule to make target 'mk/config.h.in'}}}. 129 131 130 132 Some parts of the source tree, particularly libraries, have their own 131 configure script. {{{ autoreconf}}} takes care of that, too, so all132 you have to do is calling {{{ autoreconf}}} in the top-level directory133 configure script. {{{sh boot}}} takes care of that, too, so all 134 you have to do is calling {{{sh boot}}} in the top-level directory 133 135 {{{$(GHC_TOP)}}}. 134 136 … … 298 300 * Prepare for system configuration: 299 301 {{{ 300 $ autoreconf302 $ sh boot 301 303 }}} 302 304 (You can skip this step if you are starting from a source
