[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sun Studio: STL libraries
From: |
Peter O'Gorman |
Subject: |
Re: Sun Studio: STL libraries |
Date: |
Fri, 08 Feb 2008 10:10:27 -0600 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071115) |
Dan Lacher wrote:
>>> Tim Mooney wrote:
>>>> CXXFLAGS="-library=%none -library=no%libC"
>>
>>> Not sure what to do in the general case. Can either:
>>>
>>> 1) Allow the setting of a cache var to select if these are added.
>>> (something like attached patch).
>>
>> I prefer that. But I'd prefer a cache variable to be general, in the
>> sense of setting the C++ library not only for the Sun compiler, and not
>> only on Solaris. There have been users complaining that they want only
>> libsupc++ instead of libstdc++ with g++.
>
> From the Open MPI community stand point we need a method that will work
> via automake since we don't invoke libtool directly.
Well, with a cache variable, you can either ensure that it is exported
in the environment prior to configure, e.g. for bash:
export lt_cv_add_cstd_crun=no
./configure; make
or you can add it to the configure arguments:
./configure --enable-foo --with-bar lt_cv_add_cstd_crun=no --prefix=/opt/baz
Would that be sufficient? (Note that the name of the variable is subject
to change).
Peter
--
Peter O'Gorman
http://pogma.com
- Re: Sun Studio: STL libraries, (continued)
- Re: Sun Studio: STL libraries, Peter O'Gorman, 2008/02/06
- Re: Sun Studio: STL libraries, Peter O'Gorman, 2008/02/06
- Re: Sun Studio: STL libraries, Tim Mooney, 2008/02/06
- Re: Sun Studio: STL libraries, Tim Mooney, 2008/02/06
- Re: Sun Studio: STL libraries, Dan Lacher, 2008/02/07
- Re: Sun Studio: STL libraries, Dan Lacher, 2008/02/07
- Re: Sun Studio: STL libraries, Tim Mooney, 2008/02/07
- Re: Sun Studio: STL libraries, Peter O'Gorman, 2008/02/07
- Re: Sun Studio: STL libraries, Ralf Wildenhues, 2008/02/08
- Re: Sun Studio: STL libraries, Dan Lacher, 2008/02/08
- Re: Sun Studio: STL libraries,
Peter O'Gorman <=
- Re: Sun Studio: STL libraries, Ralf Wildenhues, 2008/02/08
- Re: Sun Studio: STL libraries, Tim Mooney, 2008/02/06