From: jhauga <[email protected]> --- faq/faq.html | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/faq/faq.html b/faq/faq.html index 5c6296f0..6be1e54e 100644 --- a/faq/faq.html +++ b/faq/faq.html @@ -2077,8 +2077,10 @@ with Cygwin development tools. </p><p>Note that this is a lot of work (half a day or so), but much less than rewriting the runtime library in question from specs... </p><p>Thanks to Jacob Navia (root at jacob dot remcomp dot fr) for this explanation. -</p></td></tr><tr class="question"><td align="left" valign="top"><a name="faq.programming.building-cygwin"></a><a name="id1458"></a><p><b>6.21.</b></p></td><td align="left" valign="top"><p>How do I build Cygwin on my own?</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>First, you need to make sure you have the necessary build tools -installed; you at least need <code class="literal">autoconf</code>, +</p></td></tr><tr class="question"><td align="left" valign="top"><a name="faq.programming.building-cygwin"></a><a name="id1458"></a><p><b>6.21.</b></p></td><td align="left" valign="top"><p>How do I build Cygwin on my own?</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>There are two processes. One download the required +packages. Two installation. Note that the entire process may take anywhere from 30 minutes to over an hour, +so be sure to download all required packages before beginning the installation.</p><p>First, you need to make +sure you have the necessary build tools installed; you at least need <code class="literal">autoconf</code>, <code class="literal">automake</code>, <code class="literal">cocom</code>, <code class="literal">gcc-g++</code>, <code class="literal">git</code>, <code class="literal">libtool</code>, <code class="literal">make</code>, @@ -2114,12 +2116,15 @@ $ setup-x86_64.exe -P dblatex,docbook-utils,docbook-xml45,docbook-xsl,docbook2X, This is the <span class="emphasis"><em>preferred method</em></span> for acquiring the sources. Otherwise, if you are trying to duplicate a cygwin release then you should download the corresponding source package -(<code class="literal">cygwin-x.y.z-n-src.tar.bz2</code>). </p><p>You <span class="emphasis"><em>must</em></span> build cygwin in a separate directory from -the source, so create something like a <code class="literal">build/</code> directory. -Assuming you checked out the source to -<code class="literal">/oss/src/newlib-cygwin/</code>, and you want to install to the -temporary location <code class="literal">/oss/install/</code>, these are the required -steps to build Cygwin: +(<code class="literal">cygwin-x.y.z-n-src.tar.bz2</code>). </p> +<p><b>Tip:</b> before installing run <code>ln -s /usr/bin/make /usr/bin/gmake</code> in the cygwin terminal before +beginning the install procedure.</p><p><b>Tip:</b> ensure Perl's XML::SAX module knows about installed +parsers by running <code>perl -MXML::SAX -e 'XML::SAX->add_parser(q(XML::SAX::Expat)); XML::SAX->save_parsers()</code> +in the cygwin terminal. If an error appears, stating: <code>could not find ParserDetails.ini ...</code>, then +running the command once more should resolve this.</p><p>You <span class="emphasis"><em>must</em></span> build cygwin +in a separate directory from the source, so create something like a <code class="literal">build/</code> directory. +Assuming you checked out the source to <code class="literal">/oss/src/newlib-cygwin/</code>, and you want to install +to the temporary location <code class="literal">/oss/install/</code>, these are the required steps to build Cygwin: </p><pre class="screen"> $ mkdir -p /oss/src/newlib-cygwin/build # create build dir $ mkdir -p /oss/install # create install dir -- 2.46.0.windows.1
