MinGW-w64: Disabled Winpthreads.

This is done to avoid build failures. How to include thread support
is listed in "Command Explanations" for MinGW-w64 and MinGW-w64-GCC.
This commit is contained in:
Zeckmathederg 2024-10-04 04:22:04 -06:00
parent 9f52da345d
commit 086032bd65
3 changed files with 9 additions and 5 deletions

View File

@ -42,6 +42,9 @@
<listitem>
<para>October 4th, 2024</para>
<itemizedlist>
<listitem>
<para>[Zeckmathederg] - MinGW-w64: Disabled Winpthreads.</para>
</listitem>
<listitem>
<para>[Zeckmathederg] - GNAT Binary: Fix a symlink issue.</para>
</listitem>

View File

@ -87,7 +87,6 @@ cd build-x86_64-mingw-w64 &amp;&amp;
--target=x86_64-w64-mingw32 \
--enable-shared \
--disable-multilib \
--enable-threads=posix \
--enable-languages=c,c++ &amp;&amp;
make</userinput></screen>
@ -143,7 +142,6 @@ cd build-i686-mingw-w64 &amp;&amp;
--target=i686-w64-mingw32 \
--enable-shared \
--disable-multilib \
--enable-threads=posix \
--enable-languages=c,c++ &amp;&amp;
make</userinput></screen>
@ -308,7 +306,9 @@ rm -v a.exe main.{c,cpp}</userinput></screen>
<para>
<parameter>--enable-threads=posix</parameter>: This option enables
support for POSIX threads via the winpthreads library.
support for POSIX threads via the winpthreads library. Invoke it if
you have built <xref linkend="mingw-w64"/> with <parameter>
--with-libraries=winpthreads</parameter>.
</para>
<para>

View File

@ -69,7 +69,6 @@ cd build-x86_64
../configure --prefix=/usr/x86_64-w64-mingw32 \
--host=x86_64-w64-mingw32 \
--with-libraries=winpthreads \
--enable-experimental &amp;&amp;
make</userinput></screen>
@ -95,7 +94,6 @@ cd build-i686
../configure --prefix=/usr/i686-w64-mingw32 \
--host=i686-w64-mingw32 \
--with-libraries=winpthreads \
--enable-experimental &amp;&amp;
make</userinput></screen>
@ -127,6 +125,9 @@ make</userinput></screen>
<para>
<parameter>--with-libraries=winpthreads</parameter>: This option
builds the winpthreads library, which can enable posix threading.
Use it after you have built <xref linkend="mingw-w64-gcc"/> and
rebuild that package afterwards with <parameter>
--enable-threads=posix</parameter>.
</para>
<para>