mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 14:32:13 +08:00
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:
parent
9f52da345d
commit
086032bd65
@ -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>
|
||||
|
@ -87,7 +87,6 @@ cd build-x86_64-mingw-w64 &&
|
||||
--target=x86_64-w64-mingw32 \
|
||||
--enable-shared \
|
||||
--disable-multilib \
|
||||
--enable-threads=posix \
|
||||
--enable-languages=c,c++ &&
|
||||
|
||||
make</userinput></screen>
|
||||
@ -143,7 +142,6 @@ cd build-i686-mingw-w64 &&
|
||||
--target=i686-w64-mingw32 \
|
||||
--enable-shared \
|
||||
--disable-multilib \
|
||||
--enable-threads=posix \
|
||||
--enable-languages=c,c++ &&
|
||||
|
||||
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>
|
||||
|
@ -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 &&
|
||||
|
||||
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 &&
|
||||
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user