[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: |
Max Bowsher |
Subject: |
Re: linking a shared library with -pthread omits -pthread on the link line. |
Date: |
Sun, 15 Dec 2002 11:42:27 -0000 |
> 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.
Albert Chin <address@hidden> wrote:
> So "libtool" is generic enough to handle any compiler thrown at it.
> This is not true.
Yes, that's the point. The tests which result in the creation of a libtool
script from ltmain.sh & libtool.m4 will return different results for
different compilers. Besides, at the moment, libtool is inconsistent between
tagged and untagged configurations - that's not right, surely.
Max.
- 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., 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, 2002/12/14
- Re: linking a shared library with -pthread omits -pthread on the link line.,
Max Bowsher <=
Re: linking a shared library with -pthread omits -pthread on the link line., Sascha Schumann, 2002/12/14