Boost C++ Libraries: Ticket #6143: Bootstraping on Windows using MinGW hangs https://svn.boost.org/trac10/ticket/6143 <p> I have Boost 1.47 and 1.48 downloaded. I execute the following command in the root of version 1.47: </p> <pre class="wiki">bootstrap.bat mingw </pre><p> And get this output: </p> <pre class="wiki">Building Boost.Build engine Bootstrapping is done. To build, run: .\b2 To adjust configuration, edit 'project-config.jam'. Further information: - Command line help: .\b2 --help - Getting started guide: http://boost.org/more/getting_started/windows.html - Boost.Build documentation: http://www.boost.org/boost-build2/doc/html/index.html </pre><p> All is well. Running the same command in the root directory of 1.48 results in the script hanging. It does write output to <code>bootstrap.log</code>, the following lines repeated endlessly: </p> <pre class="wiki">### ### "Could not find a suitable toolset." ### ### You can specify the toolset as the argument, i.e.: ### .\build.bat msvc ### ### Toolsets supported by this script are: borland, como, gcc, gcc-nocygwin, ### intel-win32, metrowerks, mingw, msvc, vc7, vc8, vc9, vc10 ### </pre><p> A diff shows no differences between <code>bootstrap.bat</code> and <code>build.bat</code> of either version. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6143 Trac 1.4.3 thekyria@… Tue, 13 Dec 2011 13:01:26 GMT attachment set https://svn.boost.org/trac10/ticket/6143 https://svn.boost.org/trac10/ticket/6143 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build_log.txt</span> </li> </ul> <p> Build log </p> Ticket thekyria@… Tue, 13 Dec 2011 13:06:46 GMT <link>https://svn.boost.org/trac10/ticket/6143#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6143#comment:1</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6143" title="#6143: Bugs: Bootstraping on Windows using MinGW hangs (closed: invalid)">Björn Pollex &lt;bjoern.pollex@…&gt;</a>: </p> <blockquote class="citation"> <p> Running the same command in the root directory of 1.48 results in the script hanging. It does write output to <code>bootstrap.log</code>, the following lines repeated endlessly: </p> </blockquote> <p> In boost_1_48_0 the following works ok with me (compiling with MSVC): </p> <pre class="wiki">C:\boost\boost_1_48_0&gt;b2 install --build-type=complete </pre><p> If you want to compile using gcc, e.g. mingw as you mention, then you should include 'toolset=gcc' in your b2 command. The following works ok compiling thread lib: </p> <pre class="wiki">C:\boost\boost_1_48_0&gt;b2 --build-dir=C:\boost-build --with-thread --build-type=complete toolset=gcc </pre><p> However, trying to compile everything still fails: </p> <pre class="wiki">C:\boost\boost_1_48_0&gt;b2 --build-dir=C:\boost-build --build-type=complete toolse t=gcc stage </pre><p> See attachment for output; maybe I should start a new ticket for that. </p> </description> <category>Ticket</category> </item> <item> <author>thekyria@…</author> <pubDate>Tue, 13 Dec 2011 13:08:28 GMT</pubDate> <title>keywords set https://svn.boost.org/trac10/ticket/6143#comment:2 https://svn.boost.org/trac10/ticket/6143#comment:2 <ul> <li><strong>keywords</strong> mingw bootstrap build added </li> </ul> Ticket p.jackson@… Wed, 14 Dec 2011 04:54:44 GMT attachment set https://svn.boost.org/trac10/ticket/6143 https://svn.boost.org/trac10/ticket/6143 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build_bat.patch</span> </li> </ul> Ticket p.jackson@… Wed, 14 Dec 2011 04:56:05 GMT <link>https://svn.boost.org/trac10/ticket/6143#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6143#comment:3</guid> <description> <p> I'm having a similar problem to Björn but only on Windows XP. </p> <p> I noticed that the line endings for this file changed in the 1.48 release: tools\build\v2\engine\build.bat </p> <p> I think this could be causing the problem because changing the file to Windows line endings (which is what bootstrap.bat uses) fixes the problem. </p> <p> I've attached a patch for completeness. </p> </description> <category>Ticket</category> </item> <item> <author>p.jackson@…</author> <pubDate>Wed, 14 Dec 2011 05:37:27 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6143#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6143#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/6143#comment:3" title="Comment 3">p.jackson@…</a>: </p> <blockquote class="citation"> <p> I've attached a patch for completeness. </p> </blockquote> <p> The patch file should be ignored, I see that the file gets the correct line endings when checked out using SVN. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Thu, 03 Jan 2013 18:24:43 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6143#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6143#comment:5</guid> <description> <p> Could we close this ticket? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 16 Jan 2013 22:33:08 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6143#comment:6 https://svn.boost.org/trac10/ticket/6143#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> Ticket