Hi everyone,

It's been quite a while since I built another posix-threaded GCC.

I have chosen MinGW-w64 trunk and GCC 4.7 SVN for this build, and the
interesting part is that GCC is built with --enable-threads=posix, built
upon the great winpthreads work Kai has done.

You are able to use the header <thread> and associates with this toolchain,
when invoking g++ with the option "-std=c++11" to use the C++11 threading
classes on Windows. It already worked a while ago, but as soon as you tried
to add Boost.Filesystem to the mix, an unexpected exception was always
thrown. That problem is now fixed. winpthreads is not yet completely
perfect though, and GCC wants to make everything depending on the libgcc
dll depend on the winpthreads dll as well, so I kept this under
"experimental".

You might have also noticed I rearranged the "release" part of thee
"rubenvb" section of the Personal Builds, going in against my previous
promise. At the time of this writing, there are the following directories:
gcc-4.5-release
gcc-4.6-release
gcc-4.7-release
gcc-4.7-experimental-stdthread
clang-3.1-release
gcc-dw2-4.6-release

The last one is only present for 32-bit Windows, and is the GCC package you
should use with the Clang package. 32-bit Clang works like a charm, and I'd
very much like to know about your experiences using it. "clang" and
"clang++" are drop in replacements for "gcc" and "g++" and that replacement
works everywhere except for CMake (contact me for details on a fix).

Oh, and since the 4.7.1-1-release I have resurrected cygwin toolchain
builds. Mac OS is currently not possible for GCC 4.7, and I found the
cross-compiler too late for the 4.6.3-1-release build.

Happy coding!

Ruben
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to