Re: What to do to compile POSIX threads enabled GCC?

2006-05-01 Thread Hannah Schroeter
Hello!

On Mon, May 01, 2006 at 09:49:46PM +0200, Karel Gardas wrote:
>My question is: what's really needed to do to make GCC with threads 
>enabled working? I think this will be needed anyway seeing recent SMP and 
>Rthreads work appearing in OpenBSD releases.

I'm not sure. What does that mean? I.e. what's the difference from
what you achieve now using gcc -pthread -c foo.c ...
gcc -pthread -o program foo.o ...?

Kind regards,

Hannah.



What to do to compile POSIX threads enabled GCC?

2006-05-01 Thread Karel Gardas

Hello,

I'm trying to get recent GCC working on OpenBSD with threads 
support enabled. So far I've just submitted bug to GCC:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26966

The problem is that OpenBSD is neither primary nor secondary platform for 
GCC and so I'm afraid nobody from gcc community will deal with this 
seriously.


My question is: what's really needed to do to make GCC with threads 
enabled working? I think this will be needed anyway seeing recent SMP and 
Rthreads work appearing in OpenBSD releases.


Thanks,
Karel
--
Karel Gardas  [EMAIL PROTECTED]
ObjectSecurity Ltd.   http://www.objectsecurity.com