Re: [PATCH] Link to -lssp when available (fixes mingw build)

Eli Zaretskii
2019-12-19T15:32:56Z

> From: Christian Biesinger <cbiesinger@google.com>
> Date: Wed, 18 Dec 2019 17:23:24 -0600
> Cc: gdb-patches <gdb-patches@sourceware.org>
>
> Is libwinpthread-1 part of GCC? I would have thought that's part of
> mingw's runtime

I think it comes with the MinGW distro of GCC, yes.

> (how do you deal with that yourself?)

mingw.org's MinGW doesn't by default make the programs it builds
depend on pthreads, and I renamed/removed the pthreads header and
import library so that configure scripts don't decide I have pthreads
installed.