Re: Sun Studio: STL libraries

2008-02-08 Thread Dan Lacher
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 sens

Re: Sun Studio: STL libraries

2008-02-07 Thread Dan Lacher
Sorry, I forgot the last point: As a result, we need a way to have Libtool not link in any STL library at all. How can we do this? Dan Lacher wrote: Let me see if I can clarify what we are attempting to accomplish, sorry if I was not clear in the beginning. o the desire is to create a

Re: Sun Studio: STL libraries

2008-02-07 Thread Dan Lacher
Let me see if I can clarify what we are attempting to accomplish, sorry if I was not clear in the beginning. o the desire is to create a completely agnostic library that has no dependence on Cstd or stlport4 for the following reasons: * we don't use any STL in the OMPI C++ library * we wan

Re: Sun Studio: STL libraries

2008-02-06 Thread Dan Lacher
Even with what Tim has pointed out I am seeing the contrary with the following: o Open MPI src base o Sun Studio 12 o libtool 2.1b (just downloaded the latest) After autogen has finished the aclocal.m4 ends up with -library=Cstd -library=Crun both. So that is what is used in the creatio

Sun Studio: STL libraries

2008-02-06 Thread Dan Lacher
In trying to resolve a C++ issue within Open MPI we've run into an issue with Libtool automatically linking in Cstd. Because Sun Studio supports two different types of C++ STL libraries (Cstl and stlport4) we needed to remove Open MPI's reliance on STL functions so applications being compiled wi