Re: [Fwd: ORBit2 HEAD broken on Linux] - gthread problem



* Michael Meeks (michael ximian com) wrote:
> There was a change in gthread whereby the -lpthread flag was
> replaced with -pthread on Linux.  This caused 2 problems with
> ORBit2: 

gcc -dumpspecs | grep pthread
reveals that -pthread is exactly equivalent to -D_REENTRANT for cc/c++,
and -lpthread for the linker. (this is with gcc Red Hat Linux 7.1 2.96-98).

Of course this is probably subject to change so avoid -pthread at your
own risk =).

Regards,
Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]