Re: [Mingw-w64-public] Trouble with build gcc-4.6.2_rubenvb.tar.lzma

2011-07-26 Thread PcX
Hi, Ruben Your gcc-4.6.2's OpenMP (-fopenmp) seems to lack the linker option "-lpthread". I have to build OpenMP program using "gcc -fopenmp main.c -lgomp -lpthread" with your edition. -- Best Regards, PcX ---

Re: [Mingw-w64-public] winpthread build with static edition

2011-07-26 Thread PcX
于 2011/7/23 20:43, NightStrike 写道: PcX, Is this still an issue, or did you figure it out in other threads? It also has the problem. I try to debug other thread: (gdb) thread 2 [Switching to thread 2 (Thread 5008.0x157

Re: [Mingw-w64-public] libstdc++ threading for posix thread model in GCC on mingw

2011-07-26 Thread niXman
> > Both functions aren't present on a Windows native environment. You > might can write emulation code for them, but they are not part of > standard runtime. > > So I assume you have enabled here some linux specific parts, which > aren't supported. I know that they are not part of windows runti

Re: [Mingw-w64-public] libstdc++ threading for posix thread model in GCC on mingw

2011-07-26 Thread Kai Tietz
2011/7/26 K. Frank : > Hello niXman and Ruben! > > On Tue, Jul 26, 2011 at 3:26 PM, niXman wrote: >> Hi Ruben! >> I also try to build libstdc++ with winpthreads and determined what neither >> in mingw-runtime and winpthreads are not implemented the required functions >> nanosleep() and clock_getti

Re: [Mingw-w64-public] libstdc++ threading for posix thread model in GCC on mingw

2011-07-26 Thread K. Frank
Hello niXman and Ruben! On Tue, Jul 26, 2011 at 3:26 PM, niXman wrote: > Hi Ruben! > I also try to build libstdc++ with winpthreads and determined what neither > in mingw-runtime and winpthreads are not implemented the required functions > nanosleep() and clock_gettime(). > I finally built it :)

Re: [Mingw-w64-public] libstdc++ threading for posix thread model in GCC on mingw

2011-07-26 Thread niXman
Hi Ruben! I also try to build libstdc++ with winpthreads and determined what neither in mingw-runtime and winpthreads are not implemented the required functions nanosleep() and clock_gettime(). I finally built it :) You need to add flags to configure script: "--enable-threads=posix --enable-libstd

[Mingw-w64-public] libstdc++ threading for posix thread model in GCC on mingw

2011-07-26 Thread Ruben Van Boxem
Isn't that email subject a mouthful :) In light of the previous discussion and my attempts to build a posix threaded GCC, I have been looking through commit lists to find where the checks are being done in the configury that do not enable libstdc++ threads at the time of its compilation. Let's ga