[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] env in TLS
From: |
Lennert Buytenhek |
Subject: |
Re: [Qemu-devel] env in TLS |
Date: |
Mon, 11 Oct 2004 14:37:56 +0200 |
User-agent: |
Mutt/1.4.1i |
On Mon, Oct 11, 2004 at 02:18:58PM +0200, Johannes Schindelin wrote:
> > int __thread xyzzy;
> >
> > int main()
> > {
> > return 0;
> > }
> > address@hidden tmp]# gcc -Wall -o x x.c
> > x.c:3: error: thread-local storage not supported for this target
> > address@hidden tmp]#
>
> How about detecting that in configure? This way, even older gcc's
> can be supported (like HAVE_GCC3_OPTIONS)...
Sure, but if you want to support all platforms, you still won't be
able to use __thread unconditionally which was the original intent as
I understood it.
--L
Re: [Qemu-devel] env in TLS, André Braga, 2004/10/11
Re: [Qemu-devel] env in TLS, Rafael EspĂndola, 2004/10/11