Re: [Mingw-w64-public] winpthreads and gcc 7.1

2017-05-04 Thread Daniel Santos
On 05/04/2017 01:13 AM, Liu Hao wrote: > On 2017/5/4 13:54, Daniel Santos wrote: >> I see one in libgcc, but I guess you would have to add that to your >> link. I presume it's in the dynamic portion. > As Kai said yesterday on IRC, in the case of cross compiling libpthread > has to be available pr

Re: [Mingw-w64-public] winpthreads and gcc 7.1

2017-05-03 Thread Liu Hao
On 2017/5/4 13:54, Daniel Santos wrote: > I see one in libgcc, but I guess you would have to add that to your > link. I presume it's in the dynamic portion. As Kai said yesterday on IRC, in the case of cross compiling libpthread has to be available prior to libgcc. That is the reason why we link

Re: [Mingw-w64-public] winpthreads and gcc 7.1

2017-05-03 Thread Daniel Santos
On 05/03/2017 10:17 AM, Liu Hao wrote: > On 2017/5/3 18:56, Christer Solskogen wrote: >> On 03.05.2017 10.23, Liu Hao wrote: >>> On 2017/5/3 15:35, Christer Solskogen wrote: I'm having a hard time (cross) compiling winpthreads (from 5.x branch) with gcc 7.1. >>> Please try the attached pa

Re: [Mingw-w64-public] winpthreads and gcc 7.1

2017-05-03 Thread Liu Hao
On 2017/5/3 18:56, Christer Solskogen wrote: > On 03.05.2017 10.23, Liu Hao wrote: >> On 2017/5/3 15:35, Christer Solskogen wrote: >>> I'm having a hard time (cross) compiling winpthreads (from 5.x branch) >>> with gcc 7.1. >> Please try the attached patch. >> > > Works! Thanks! \o/ > This is nothi

Re: [Mingw-w64-public] winpthreads and gcc 7.1

2017-05-03 Thread Christer Solskogen
On 03.05.2017 10.23, Liu Hao wrote: > On 2017/5/3 15:35, Christer Solskogen wrote: >> I'm having a hard time (cross) compiling winpthreads (from 5.x branch) >> with gcc 7.1. > Please try the attached patch. > Works! Thanks! \o/ -- chs --

Re: [Mingw-w64-public] winpthreads and gcc 7.1

2017-05-03 Thread Liu Hao
On 2017/5/3 15:35, Christer Solskogen wrote: I'm having a hard time (cross) compiling winpthreads (from 5.x branch) with gcc 7.1. Please try the attached patch. -- Best regards, LH_Mouse From 4fa48b2af092a3b8615cef39b6e0036e20481c3f Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Wed, 3 May 20

[Mingw-w64-public] winpthreads and gcc 7.1

2017-05-03 Thread Christer Solskogen
I'm having a hard time (cross) compiling winpthreads (from 5.x branch) with gcc 7.1. make[2]: Entering directory '/tmp/obj/_build/winpthreads.cross.i686-w64-mingw32' /bin/bash ./libtool --tag=CC --mode=link i686-w64-mingw32-gcc -Wall -DWIN32_LEAN_AND_MEAN -O2 -pipe -no-undefined -version-inf