[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pthreads
From: |
Paul Pluzhnikov |
Subject: |
Re: pthreads |
Date: |
31 Jul 2004 08:14:48 -0700 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) |
Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> writes:
> Matthew Polder <matthewtunapolder@kodak.com> writes:
> > then it complains about not finding the pthreads library (I'm not sure
> > where it is).
>
> That is even harder to believe, since on Solaris 5.8 libpthread.so
> is installed in /usr/lib by default.
I just realized why you don't find libpthread when you link with
'-pthreads': you probably are trying to link with '-static'.
On Solaris, libpthread.a does not exist and static linking of
threaded executables is not supported.
Further, static linking of executables on any UNIX is a bad idea(TM).
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
- pthreads, Matthew Polder, 2004/07/30
- Re: pthreads, Paul Pluzhnikov, 2004/07/31
- Re: pthreads,
Paul Pluzhnikov <=