On Thu, Nov/20/2008 07:00:31PM, Ralf Wildenhues wrote: > Our previous mails overlapped, sorry about that. > > * Ethan Mallove wrote on Thu, Nov 20, 2008 at 06:52:09PM CET: > > > > The above appears to be looking for a Fortran version string from the > > C compiler, but it wouldn't match our version string anyway: > > > > $ f90 -V > > f90: Sun Ceres Fortran 95 8.3 SunOS_sparc 2008/01/28 > > Ah, ok. Please try the patch below instead of yours, thanks.
Your patch seems to work, though I get this: libtool: Version mismatch error. This is libtool 2.2.7a, but the libtool: definition of this LT_INIT comes from libtool 2.2.6. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a libtool: and run autoconf again. I take it the above error will occur if I have two different libtools in my PATH? This comment could be a little misleading because the same is true for Sun Fortran 8.1 and 8.2: # Sun Fortran 8.3 passes all unrecognized flags to the linker I don't know of a version of Sun Fortran that accepts -Wl the way GNU Fortran does. I will let you know if I find one. > Do you mind being added to libtool/THANKS (includes email address)? I do not mind. > > I'm still running into the Cstd/stlport4 issue with 2.2.6. That is, > > this line appears in the libtool script: > > > > postdeps="-library=Cstd -library=Crun" > > Do you have the string " -library=stlport4 " in $CXX $CXXFLAGS? > If not, then how can Libtool detect that you use stlport? Ok. When I use -library=stlport4, I get libstlport linked to libmpi_cxx, instead of libCstd. Doesn't that then lock the user into having to use stlport4 when we want them to be able to use either Cstd or stlport4? Thanks, Ethan > > Thanks, > Ralf > > * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also > match `Sun Ceres Fortran' compiler; reorder with C compiler > matching. > * THANKS: Update. > Report by Ethan Mallove. > > diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 > index 7fbf965..d90c4f4 100644 > --- a/libltdl/m4/libtool.m4 > +++ b/libltdl/m4/libtool.m4 > @@ -3947,17 +3947,17 @@ m4_if([$1], [CXX], [ > ;; > *) > case `$CC -V 2>&1 | sed 5q` in > - *Sun\ C*) > - # Sun C 5.9 > + *Sun\ F* | *Sun*Fortran*) > + # Sun Fortran 8.3 passes all unrecognized flags to the linker > _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' > _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' > - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' > + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' > ;; > - *Sun\ F*) > - # Sun Fortran 8.3 passes all unrecognized flags to the linker > + *Sun\ C*) > + # Sun C 5.9 > _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' > _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' > - _LT_TAGVAR(lt_prog_compiler_wl, $1)='' > + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' > ;; > esac > ;; > _______________________________________________ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel