Re: [Mingw-w64-public] problem with TLS and DLL

2013-12-22 Thread Daniel Villeneuve
On 22/12/13 12:00 PM, Kai Tietz wrote: > 2013/12/22 Daniel Villeneuve : >> Is the dynamic library vs extern thread-local limitation you bring >> above specific to Mingw-w64's implementation? or applicable to >> Windows in general? > It applies to thread-local variable

Re: [Mingw-w64-public] problem with TLS and DLL

2013-12-22 Thread Daniel Villeneuve
Hello Kai, On 22/12/13 05:13 AM, Kai Tietz wrote: > Hello Daniel, > > 2013/12/21 Daniel Villeneuve : >> Hi, >> >> I have a DLL library which declares an "extern __thread int iTlsExtern" >> variable, which I can access from the library and from a program.

[Mingw-w64-public] problem with TLS and DLL

2013-12-22 Thread Daniel Villeneuve
e compilation flags in the Makefile)? Is there something else I can provide to investigate the problem? -- Daniel Villeneuve - lib.h #ifndef LIB_H #define LIB_H #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200809L #endif #ifndef _MT #define _MT 1 #endif

[Mingw-w64-public] missing dlltool 32-bit flag in pthreads-win32 instructions

2013-12-21 Thread Daniel Villeneuve
i386 CC = $(CROSS)gcc -m32 CXX = $(CROSS)g++ -m32 RANLIB = $(CROSS)ranlib -- Daniel Villeneuve -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear