2021-08-01 19:13 (UTC-0700), Jeremy Drake via Mingw-w64-public:
> 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.

Too bad, thanks.

> > 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.

Very interesting projects!
However, I specifically need GCC.
By "both MinGW-w64 and clang" I meant a solution that would work for both GCC
targeting MinGW-w64 and clang with Windows SDK. Sorry for not being clear.


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

Reply via email to