Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-04 Thread Martin Storsjö
On Thu, 5 Mar 2020, Liu Hao wrote: 在 03/05/2020 10:46 AM, Dan Raymond 写道: On 3/3/2020 6:16 AM, Liu Hao wrote: There are prebuilt native toolchains so you can have GCC, GDB etc. as native programs which do not require MSYS2 (note GDB may require Python3 which is native too) so there is no

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-04 Thread Liu Hao
在 03/05/2020 10:46 AM, Dan Raymond 写道: > On 3/3/2020 6:16 AM, Liu Hao wrote: > >> There are prebuilt native toolchains so you can have GCC, GDB etc. as >> native programs which do not require MSYS2 (note GDB may require Python3 >> which is native too) so there is no need to install MSYS2, unless

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-04 Thread Dan Raymond
On 3/3/2020 6:16 AM, Liu Hao wrote: There are prebuilt native toolchains so you can have GCC, GDB etc. as native programs which do not require MSYS2 (note GDB may require Python3 which is native too) so there is no need to install MSYS2, unless you also need GNU make, BASH, etc. I am running

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Liu Hao
在 2020/3/3 下午11:42, Carl Kleffner 写道: > BTW, > > what happend to https://github.com/lhmouse/mcfgthread? Is this a possible > usable fast posix alternative? > As it has introduced a new thread model, it is not compatible with either posix or win32.e Mutexes, condition variables and once-guards

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Vincent Torri
On Tue, Mar 3, 2020 at 4:10 PM Liu Hao wrote: > > 在 2020/3/3 23:01, Vincent Torri 写道: > > > > but technically speaking, it can be implemented with the native > > condition variables, right ? > > > > > No. See >

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Carl Kleffner
BTW, what happend to https://github.com/lhmouse/mcfgthread? Is this a possible usable fast posix alternative? Carl Am Di., 3. März 2020 um 16:10 Uhr schrieb Liu Hao : > 在 2020/3/3 23:01, Vincent Torri 写道: > > > > but technically speaking, it can be implemented with the native > > condition

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Vincent Torri
On Tue, Mar 3, 2020 at 3:59 PM Liu Hao wrote: > > 在 2020/3/3 22:44, Vincent Torri 写道: > > > > can you be a bit more precise about "libgcc doesn't implement > > condition variables for win32 model" please ? > > > > Vincent Torri > > > > See >

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Liu Hao
在 2020/3/3 23:01, Vincent Torri 写道: > > but technically speaking, it can be implemented with the native > condition variables, right ? > No. See for mutex details. The native

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Liu Hao
在 2020/3/3 22:44, Vincent Torri 写道: > > can you be a bit more precise about "libgcc doesn't implement > condition variables for win32 model" please ? > > Vincent Torri > See .

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Vincent Torri
On Tue, Mar 3, 2020 at 2:46 PM Liu Hao wrote: > > 在 2020/3/3 21:30, Vincent Torri 写道: > > On Tue, Mar 3, 2020 at 2:17 PM Liu Hao wrote: > >> > >> > >> The posix/win32 diversity is about how to manipulate threads (there are > >> a few more): via libwinpthread (slow but feature-complete) or via >

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Liu Hao
在 2020/3/3 21:25, Luiz Emediato 写道: > I have installed MinGW64 x86_64-posix-seh binaries but it won't run > configure. > Do I need MSYS2 in order to run configure ? > [Please CC the list. I include the previous message here because it was sent to me solely.] Then yes, because configure is a

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Liu Hao
在 2020/3/3 21:30, Vincent Torri 写道: > On Tue, Mar 3, 2020 at 2:17 PM Liu Hao wrote: >> >> >> The posix/win32 diversity is about how to manipulate threads (there are >> a few more): via libwinpthread (slow but feature-complete) or via >> Windows APIs directly (fast but without condition variables

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Vincent Torri
On Tue, Mar 3, 2020 at 2:17 PM Liu Hao wrote: > > 在 2020/3/3 21:02, Luiz Emediato 写道: > > Hi there, > > > > Would you please help me answering the following questions? > > > > 1. What is the difference between x86_64-posix-seh and x86_64-win32-seh > > binaries ? > > Is the former for Linux and

Re: [Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Liu Hao
在 2020/3/3 21:02, Luiz Emediato 写道: > Hi there, > > Would you please help me answering the following questions? > > 1. What is the difference between x86_64-posix-seh and x86_64-win32-seh > binaries ? > Is the former for Linux and the latter for Windows ? > > 2. What is the best way to install

[Mingw-w64-public] Posix versus Win32 binaries

2020-03-03 Thread Luiz Emediato
Hi there, Would you please help me answering the following questions? 1. What is the difference between x86_64-posix-seh and x86_64-win32-seh binaries ? Is the former for Linux and the latter for Windows ? 2. What is the best way to install MingGW64? Is MSYS2 also necessary ? Thanks a lot in