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

Re: pthread



Nevermind...my issue is fixed.  I am working on 3.1 so I did need -lc_r. 
  I was including it in one place but not another.  All is well.

Thanks to everyone for answering my questions.

A new clamav port to follow...

Regards,
Flinn

Flinn Mueller wrote:
> Marc Matteo wrote:
> 
>> On Sat, 2003-05-24 at 12:49, Flinn Mueller wrote:
>>  
>>
>>> Is this true for 3.1?  I know I've always heard use -pthread, but why 
>>> are there times that -pthread does not work, and -lpthread does?
>>>   
>>
>>
>> -pthread has for a long, long time been the flag that "just does the
>> right thing".  That's why we like it.  Back when -lc_r was needed,
>> -pthread handled that.  When we got a proper libpthread, -thread handled
>> that.
>>
>> If there's a case where -pthread doesn't work but -lpthread does then
>> you've broken something.
>>
> Any idea what I should be looking for here?
> 
> Thanks very much for your help.
> 
> Regards,
> Flinn
> 
> 
>