On Mon, 2 Aug 2021, Dmitry Kozlyuk wrote:

> Hello,
>
> Does MinGW-w64 builds support native thread-local storage (TLS),

If by MinGW-w64 you mean GCC targeting MinGW-w64, then no.  GCC only
supports emutls on MinGW-w64.

> that will work for both MinGW-w64 and clang at the same time

If you want to use both MinGW-w64 and clang at the same time, you might
look at https://github.com/mstorsjo/llvm-mingw, or MSYS2's new clang
environments: https://www.msys2.org/docs/environments/#gcc-vs-llvmclang.
These support native TLS.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to