List Info

Thread: Re: (ITS#4981) Try -lpthread before -pthread




Re: (ITS#4981) Try -lpthread before -pthread
country flaguser name
United States
2007-05-23 21:37:49
On May 23, 2007, at 10:16 PM, rrastanford.edu wrote:
> libtool does not pass -pthread through

Our libtool does.  But gcc might not do the right thing with
it.
In that case, it's a gcc bug which should be reported to the
gcc
folks.

I believe using -lpthread over -pthread will cause more
problems
than its worth.  That is, the problems caused by the missing
link
on some platforms is not nearly as bad as the caused by
using
-lc instead of -lc_r on other platforms.

-- Kurt



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )