[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linking a shared library with -pthread omits -pthread on the link l
From: |
Albert Chin |
Subject: |
Re: linking a shared library with -pthread omits -pthread on the link line. |
Date: |
Fri, 13 Dec 2002 23:23:10 -0600 |
User-agent: |
Mutt/1.4i |
On Fri, Dec 13, 2002 at 11:08:29PM -0600, Bob Friesenhahn wrote:
> On Fri, 13 Dec 2002, Albert Chin wrote:
> > >
> > > Attached is a patch for libtool, which solves this issue for the options
> > > -pthread, -pthreads, -threads, -mt, -mthreads and -Kthread.
> >
> > Too much duplicate code. Just use one case statement for it all.
> >
> > BTW, should libtool just pass through options it doesn't recognize?
>
> Libtool does pass through options it doesn't recognize.
> Unfortunately, while unrecognized options are always passed to the
> compiler in the compile step, options do not reliably get passed in
> the link step when the compiler is also used to perform the link.
Is this intentional or a bug? If the latter, I say reject the patch in
lieu of a bug fix.
> CVS libtool already passes through any GCC -mfoo options to the
> link step when the compiler is invoked to do the linking.
Yeah, I need to think about this.
--
albert chin (address@hidden)
- linking a shared library with -pthread omits -pthread on the link line., Sebastian Wilhelmi, 2002/12/10
- Re: linking a shared library with -pthread omits -pthread on the link line., Albert Chin, 2002/12/13
- Re: linking a shared library with -pthread omits -pthread on the link line., Bob Friesenhahn, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line.,
Albert Chin <=
- Re: linking a shared library with -pthread omits -pthread on the link line., Max Bowsher, 2002/12/14
- RE: linking a shared library with -pthread omits -pthread on the link line., Howard Chu, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line., Max Bowsher, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line., Albert Chin, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line., Ossama Othman, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line., Albert Chin, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line., Bob Friesenhahn, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line., Albert Chin, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line., Bob Friesenhahn, 2002/12/15
- Re: linking a shared library with -pthread omits -pthread on the link line., Albert Chin, 2002/12/15