[Date Prev][Date Next] [Chronological] [Thread] [Top]

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

On May 23, 2007, at 10:16 PM, rra@stanford.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

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