This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to use __thread
- From: wj <jiawan at huawei dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 02 Dec 2004 17:38:23 +0800
- Subject: 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.