Re: Adding support for mingw-w64 and winpthread

2016-05-12 Thread Johannes Pfau via D.gnu
Am Wed, 11 May 2016 09:26:12 + schrieb Vincent R : > On Wednesday, 30 March 2016 at 12:05:27 UTC, Vincent R wrote: > > On Wednesday, 30 March 2016 at 11:44:41 UTC, Johannes Pfau > > wrote: > >> Am Wed, 30 Mar 2016 08:27:27 + > >> schrieb Vincent R : > >> > >>> [...] > >> > >> Known

Re: Adding support for mingw-w64 and winpthread

2016-05-11 Thread Vincent R via D.gnu
On Wednesday, 30 March 2016 at 12:05:27 UTC, Vincent R wrote: On Wednesday, 30 March 2016 at 11:44:41 UTC, Johannes Pfau wrote: Am Wed, 30 Mar 2016 08:27:27 + schrieb Vincent R : [...] Known problem, I'll probably push a fix to master for this soon. Linking -lws2_32 -lwsock32 is the cor

Re: Adding support for mingw-w64 and winpthread

2016-03-30 Thread Vincent R via D.gnu
On Wednesday, 30 March 2016 at 11:44:41 UTC, Johannes Pfau wrote: Am Wed, 30 Mar 2016 08:27:27 + schrieb Vincent R : [...] Known problem, I'll probably push a fix to master for this soon. Linking -lws2_32 -lwsock32 is the correct workaround, but the libraries must be specified in the co

Re: Adding support for mingw-w64 and winpthread

2016-03-30 Thread Johannes Pfau via D.gnu
Am Wed, 30 Mar 2016 08:27:27 + schrieb Vincent R : > make[1]: Entering directory > '/home/19013692/tmp/wxd/src/Samples/Controls' > make[1]: Nothing to be done for 'all'. > make[1]: Leaving directory > '/home/19013692/tmp/wxd/src/Samples/Controls' > make -C Dialogs > make[1]: Entering directo

Re: Adding support for mingw-w64 and winpthread

2016-03-30 Thread Vincent R via D.gnu
On Friday, 25 March 2016 at 10:11:46 UTC, Johannes Pfau wrote: Am Fri, 25 Mar 2016 09:15:06 + schrieb Vincent R : > So the main question is: can we simply ditch gcc.gthreads > and inline the code into rt.monitor? Thanks for all this information and it seems your knowledge is far beyond mi

Re: Adding support for mingw-w64 and winpthread

2016-03-25 Thread Johannes Pfau via D.gnu
Am Fri, 25 Mar 2016 09:15:06 + schrieb Vincent R : > > So the main question is: can we simply ditch gcc.gthreads and > > inline the code into rt.monitor? > > Thanks for all this information and it seems your knowledge is > far beyond mine so I cannot answer your last question but from >

Re: Adding support for mingw-w64 and winpthread

2016-03-25 Thread Vincent R via D.gnu
On Thursday, 24 March 2016 at 13:07:00 UTC, Johannes Pfau wrote: I also had another look at MinGW-W64 some weeks ago but then got distracted :-) Here's a quick patch to get winpthreads working: https://paste.gnome.org/pl3pqzcke This only hooks up the gthreads API with winpthreads. But when

Re: Adding support for mingw-w64 and winpthread

2016-03-24 Thread Johannes Pfau via D.gnu
Am Thu, 24 Mar 2016 11:12:20 +0100 schrieb "Iain Buclaw via D.gnu" : > On 24 March 2016 at 10:52, Vincent R via D.gnu > wrote: > > > Hi, > > > > I would like to generate gdc compiler on msys2/mingw-w64 platform. > > The build system on msys2 uses archlinux build architecture and the > > build fi

Re: Adding support for mingw-w64 and winpthread

2016-03-24 Thread Vincent R via D.gnu
On Thursday, 24 March 2016 at 10:12:20 UTC, Iain Buclaw wrote: How readily does Mingw support pthreads? What may be needed is simply a new package for mingw-specific system functions (ie: core.sys.mingw.pthread). In the meantime, you should be able to get around by passing --enable-threads=win3

Re: Adding support for mingw-w64 and winpthread

2016-03-24 Thread Iain Buclaw via D.gnu
On 24 March 2016 at 10:52, Vincent R via D.gnu wrote: > Hi, > > I would like to generate gdc compiler on msys2/mingw-w64 platform. > The build system on msys2 uses archlinux build architecture and the build > file is here: > > https://github.com/vrichomme/MINGW-packages/blob/newfastrelease/mingw-

Adding support for mingw-w64 and winpthread

2016-03-24 Thread Vincent R via D.gnu
Hi, I would like to generate gdc compiler on msys2/mingw-w64 platform. The build system on msys2 uses archlinux build architecture and the build file is here: https://github.com/vrichomme/MINGW-packages/blob/newfastrelease/mingw-w64-gcc/PKGBUILD To generate it I followed the following steps: