Re: [Mingw-w64-public] Shared semaphores

2013-11-05 Thread Edscott Wilson
2013/11/5 Ruben Van Boxem > > > If you have pthreadGC2.dll, you are not using winpthreads, but > pthreads-win32, an older and completely different project. What toolchain > are you using? I don't think you're using MinGW-w64, but the older and less > complete MinGW(.org). > > You can get MinGW-w6

Re: [Mingw-w64-public] ld asserts on trying to link -lws2_32 to a DLL (win64 target)

2013-11-05 Thread sampo
Ruben Van Boxem said: > 2013/11/5 > > > Further investigation on this topic: > > > > Compiling using mingw-w64 installed from Ubuntu packages succeeds > > without a problem. > > > > The ubuntu version is "MinGW-W64 Runtime 1.0 (stable - rev. 0) -00-00" > > x86_64-w64-mingw32-gcc --version:

Re: [Mingw-w64-public] ld asserts on trying to link -lws2_32 to a DLL (win64 target)

2013-11-05 Thread sampo-mingw
Ruben Van Boxem said: > 2013/11/5 > > Further investigation on this topic: > > > > Compiling using mingw-w64 installed from Ubuntu packages succeeds > > without a problem. > > > > The ubuntu version is "MinGW-W64 Runtime 1.0 (stable - rev. 0) -00-00" > > x86_64-w64-mingw32-gcc --version: gcc

Re: [Mingw-w64-public] ld asserts on trying to link -lws2_32 to a DLL (win64 target)

2013-11-05 Thread Ruben Van Boxem
2013/11/5 > Further investigation on this topic: > > Compiling using mingw-w64 installed from Ubuntu packages succeeds > without a problem. > > The ubuntu version is "MinGW-W64 Runtime 1.0 (stable - rev. 0) -00-00" > x86_64-w64-mingw32-gcc --version: gcc version 4.6.1 (GCC) > x86_64-w64-ming

Re: [Mingw-w64-public] Shared semaphores

2013-11-05 Thread Ruben Van Boxem
2013/11/5 Edscott Wilson > > > > 2013/11/4 LRN > >> What CreateSemaphore() uses internally is anyone's guess. It might be >> CreateFileMapping(), it might be not. If it goes into kernel side, >> then it may as well use something more efficient there. >> libwinpthreads uses CreateSemaphore() inte

Re: [Mingw-w64-public] Shared semaphores

2013-11-05 Thread Edscott Wilson
2013/11/4 LRN > What CreateSemaphore() uses internally is anyone's guess. It might be > CreateFileMapping(), it might be not. If it goes into kernel side, > then it may as well use something more efficient there. > libwinpthreads uses CreateSemaphore() internally, so if you'd use the > semaphore

Re: [Mingw-w64-public] ld asserts on trying to link -lws2_32 to a DLL (win64 target)

2013-11-05 Thread sampo-mingw
Further investigation on this topic: Compiling using mingw-w64 installed from Ubuntu packages succeeds without a problem. The ubuntu version is "MinGW-W64 Runtime 1.0 (stable - rev. 0) -00-00" x86_64-w64-mingw32-gcc --version: gcc version 4.6.1 (GCC) x86_64-w64-mingw32-ld --version: GNU ld (

Re: [Mingw-w64-public] Cross-compiling linker issue

2013-11-05 Thread Zbigniew Diaczyszyn
Am 04.11.2013 17:07, schrieb Alexpux: > 04 нояб. 2013 г., в 20:03, Zbigniew Diaczyszyn написал(а): > >> > Am 04.11.2013 15:26, schrieb Alexpux: >>> >> Show how you build tcl/tk >> > >> > In general I don't build but I use a binary Community version from >> > ActiveState. Under Unix It provides