This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to use __thread


Hi,

I am configuring the glibc 2.3.3 with nptl thread, but I meet this error info:
configure: error: compiler support for __thread is required


I am using the gcc 3.4.2 , and when I compile one test program which use
the __thread, I get this error:
t.c:3: error: thread-local storage not supported for this target

So how to resolve this problem?
Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]