Re: -lpthread

2008-06-05 Thread David Ayers
how anyone could have a problem with -pthread on Ubuntu. On free bsd, it tries to check that the objc runtime thread support works using first -pthread, then -lpthread, then -lpcthread What happens for you if you hack gnustep-make's configure.ac (and run autoconf to generate a new configure

Re: -lpthread

2008-06-05 Thread Andrew Pinski
On Thu, Jun 5, 2008 at 2:17 AM, David Ayers [EMAIL PROTECTED] wrote: I believe the issue is that historically the libobjc runtime could be used with different threading libraries for its threading API. But if I remember correctly, currently only POSIX Threads are supported. I'm not 100% sure

-lpthread

2008-06-03 Thread David Chisnall
Hi, It seems that recent GNUstep does not supply the -lpthread flag to the linker, just -pthread. The semantics of -pthread are really badly defined - on some platforms it does nothing, on some it sets some macros, on some it implies -lpthread, on others it does not. The problem I am

Re: -lpthread

2008-06-03 Thread David Chisnall
If it helps, I am on FreeBSD, but I have had other users report the same issue on Ubuntu. David On 3 Jun 2008, at 17:23, Richard Frith-Macdonald wrote: On 2 Jun 2008, at 15:43, David Chisnall wrote: Hi, It seems that recent GNUstep does not supply the -lpthread flag to the linker