Re: difference between -pthread and -lpthread

2009-02-17 Thread Stuart Henderson
On 2009-02-17, cnav wrote: >> I *think* you need to change ClamAV.pm to have -pthread in LIBS like >> >> use Inline C => Config => >> VERSION => $VERSION, >> PREFIX => 'clamav_perl', >> NAME=> "Maile::ClamAV", >> LIBS=> "-lclamav -pthread"; >> >> but I honestly don't

Re: difference between -pthread and -lpthread

2009-02-17 Thread patrick keshishian
On Tue, Feb 17, 2009 at 6:16 AM, cnav wrote: > Jacob Meuser wrote: >> >> On Tue, Feb 17, 2009 at 09:03:18AM +0100, cnav wrote: >>> >>> Jacob Meuser wrote: On Mon, Feb 16, 2009 at 09:06:25AM -0800, patrick keshishian wrote: > > man cc > /-pthread > nn > > -pt

Re: difference between -pthread and -lpthread

2009-02-17 Thread cnav
Jacob Meuser wrote: On Tue, Feb 17, 2009 at 09:03:18AM +0100, cnav wrote: Jacob Meuser wrote: On Mon, Feb 16, 2009 at 09:06:25AM -0800, patrick keshishian wrote: man cc /-pthread nn -pthreads Add support for multithreading using the POSIX threads library. This op

Re: difference between -pthread and -lpthread

2009-02-17 Thread Antoine Jacoutot
On Tue, 17 Feb 2009, Jacob Meuser wrote: > > Please, if any of you can help me understand it, it will be much > > helpful. (Or at least can you give me some directions where to search > > to.) > > I *think* you need to change ClamAV.pm to have -pthread in LIBS like > > use Inline C => Config =

Re: difference between -pthread and -lpthread

2009-02-17 Thread Jacob Meuser
On Tue, Feb 17, 2009 at 09:03:18AM +0100, cnav wrote: > Jacob Meuser wrote: >> On Mon, Feb 16, 2009 at 09:06:25AM -0800, patrick keshishian wrote: >>> man cc >>> /-pthread >>> nn >>> >>>-pthreads >>>Add support for multithreading using the POSIX threads >>>library.

Re: difference between -pthread and -lpthread

2009-02-17 Thread cnav
Jacob Meuser wrote: On Mon, Feb 16, 2009 at 09:06:25AM -0800, patrick keshishian wrote: man cc /-pthread nn -pthreads Add support for multithreading using the POSIX threads library. This option sets flags for both the preprocessor and linker. This optio

Re: difference between -pthread and -lpthread

2009-02-16 Thread Jacob Meuser
On Mon, Feb 16, 2009 at 09:06:25AM -0800, patrick keshishian wrote: > man cc > /-pthread > nn > >-pthreads >Add support for multithreading using the POSIX threads >library. This option sets flags for both the >preprocessor and linker. This option does

Re: difference between -pthread and -lpthread

2009-02-16 Thread patrick keshishian
man cc /-pthread nn -pthreads Add support for multithreading using the POSIX threads library. This option sets flags for both the preprocessor and linker. This option does not affect the thread safety of object code produced by the c