[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: |
Sat, 14 Dec 2002 18:21:25 -0600 |
User-agent: |
Mutt/1.4i |
On Sat, Dec 14, 2002 at 05:19:56PM -0600, Bob Friesenhahn wrote:
> Something is wrong here. There is no assurance at all that libtool
> will be executed with the identical compiler and options as was used
> to configure libtool.
>
> While assuming that the value of CC can be preserved may help some
> cases, it by no means a sure fix.
>
> For example, I may configure libtool using CC='gcc' but later invoke
> libtool like
>
> libtool --mode=link gcc -m64 blah blah
>
> or even
>
> libtool --mode link cc blah blah
>
> where 'cc' is something other than the gcc used to configure libtool,
> or perhaps a different version of gcc.
So "libtool" is generic enough to handle any compiler thrown at it.
This is not true.
--
albert chin (address@hidden)
- Re: linking a shared library with -pthread omits -pthread on the link line., (continued)
- 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
- 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., Bob Friesenhahn, 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 <=
- Re: linking a shared library with -pthread omits -pthread on the link line., Max Bowsher, 2002/12/15
Re: linking a shared library with -pthread omits -pthread on the link line., Sascha Schumann, 2002/12/14