Am Fri, 16 Mar 2012 14:37:43 -0700
schrieb Sean Kelly <s...@invisibleduck.org>:

> On Mar 16, 2012, at 2:19 PM, Johannes Pfau wrote:
> 
> > Am Fri, 16 Mar 2012 12:08:01 -0700
> > schrieb Walter Bright <newshou...@digitalmars.com>:
> > 
> >> On 3/16/2012 7:53 AM, Andrei Alexandrescu wrote:
> >>> Just found this, has anyone tried dmd or friends on OpenBSD?
> >>> 
> >>> http://stackoverflow.com/questions/9698581/programming-in-d-for-openbsd
> >> 
> >> There was a start on an OpenBSD port, but it hasn't progressed very
> >> far. It shouldn't be hard - if someone wants to pick up the flag on
> >> this and run with it, I'd be happy to fold in the changes.
> > 
> > AFAICS OpenBSD doesn't support TLS (the __thread tls, posix
> > pthread_getspecific works of course). Can D work at all without TLS
> > support?
> > 
> > (We have a similar problem with Android, I know for sure TLS isn't
> > supported there.)
> 
> OSX pre-Lion doesn't support __thread either, so DMD rolls its own
> there.  The same functionality could probably be used for OpenBSD.
> 

That's interesting. GCC does have emulated TLS as well but GCC's
implementation doesn't work with the GC. I guess the dmd tls emulation
is in the backend, so nothing GDC could use?

Reply via email to