Re: Fun with libpthread.so
- From: "David Schwartz" <davids@xxxxxxxxxxxxx>
- Date: 10 Aug 2006 06:41:47 -0700
John Dallman [311000] wrote:
"David Schwartz" <davids@xxxxxxxxxxxxx> wrote
There is an RS/6000-specific '-pthread' option because threads
interacts with the SP Parallel Environment. But this doesn't mean there
isn't also a '-pthread' option for x86-64 (which is also in the
manpage, most likely).
Actually it isn't. Which was why I queried it. I've tried it, and GCC
don;t complain it's invalid; it does say this:
cc: -lpthread: linker input file unused because linking not done
cc: -lpthread_nonshared: linker input file unused because linking not done
John
Weird, that sounds like your gcc build is broken. The '-pthread' option
is supposed to do whatever is needed to get pthreads support, no more,
no less. It should not expand to options that are not needed for the
particular operation requested, or if it does, they should not report
an error.
DS
.
- Follow-Ups:
- Re: Fun with libpthread.so
- From: David Schwartz
- Re: Fun with libpthread.so
- References:
- Fun with libpthread.so
- From: John Dallman [311000]
- Re: Fun with libpthread.so
- From: Aaron Isotton
- Re: Fun with libpthread.so
- From: John Dallman [311000]
- Re: Fun with libpthread.so
- From: David Schwartz
- Re: Fun with libpthread.so
- From: John Dallman [311000]
- Fun with libpthread.so
- Prev by Date: Re: Fun with libpthread.so
- Next by Date: Re: GCC difference in size of 'long int' on Suse SLES9 / Suse Professional 10.0
- Previous by thread: Re: Fun with libpthread.so
- Next by thread: Re: Fun with libpthread.so
- Index(es):