Hello,

The page http://mingw-w64.sourceforge.net/download.php says:  "C11/C++11 
Threading: C11 and C++11 have added threading support at the language level; 
this requires the winpthreads library which comes with the toolchains and 
changes little for users not relying on it."

1)  Am I correct in understanding "which comes with the toolchains" does _not_ 
include "win32" builds such as  x86_64-4.8.2-release-win32-seh-rt_v3-rev4.7z, 
and applys only to "posix" builds?  I did try to build a simple example 
involving std::threads using x86_64-win32-seh-rev4 -- although the compiler did 
not complain about "#include <thread>" it kept saying that "'thread' is not a 
member of 'std'"

2) When I tried to use g++ from x86_64-4.8.2-release-posix-seh-rt_v3-rev4.7z 
(x86_64-w64-mingw32-g++.exe (x86_64-posix-seh-rev4, Built by MinGW-W64 project) 
4.8.2), I got the message about missing libwinpthread-1.dll:

Command used to compile (all in one line without '\'):

    /c/opt/mingw64/bin/x86_64-w64-mingw32-g++.exe   \
                                   -D_WIN64 \
                                   -Wall \
                                   -Wextra \
                                   -Werror \
                                   -std=c++11 \
                                   -O3 \
                                   -static\
                                   -libgcc \
                                   -static\
                                   -libstdc++  \
                                    mt.cc -o mt.exe

I do see the file /c/opt/mingw64/opt/bin/libwinpthread-1.dll -- how do I let 
the compiler (and the resulting executable) see this too?

Thanks,

--Suresh






------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to