In regard to: Re: libtool C++ link bug with -lm functions with Sun Workshop...:
To answer Bob's previous question, I generally upgrade any project I'm
building to use libtool 1.5.latest, so right now I'm using 1.5.26.
Maybe you should be trying 2.2 since support for the Solaris compiler
has be
On Fri, 21 Mar 2008, Tim Mooney wrote:
What version of Sun C++ are you using?
The C++ from Workshop 12 with patches applied:
$CC -V
CC: Sun C++ 5.9 SunOS_i386 Patch 124864-01 2007/07/25
% CC -V
CC: Sun C++ 5.9 SunOS_i386 Patch 124864-02 2007/12/18
To answer Bob's previous question, I gener
In regard to: Re: libtool C++ link bug with -lm functions with Sun Workshop...:
On Wed, Mar 19, 2008 at 07:03:38PM -0500, Tim Mooney wrote:
I think I have discovered a bug in libtool's link behavior with the
Sun Workshop C++ compiler when creating a C++ library that requires libm.
I observed i
On Wed, Mar 19, 2008 at 07:03:38PM -0500, Tim Mooney wrote:
>
> I think I have discovered a bug in libtool's link behavior with the
> Sun Workshop C++ compiler when creating a C++ library that requires libm.
> I observed it on x86_64-sun-solaris2.10, but it may also affect the
> Workshop C++ compil
On Thu, 20 Mar 2008, Tim Mooney wrote:
Perhaps it is not best to run most of your configure script using the C++
compiler. Only run the C++ compiler to test C++ things.
I don't disagree, but at the same time, if everything a project is going
to build is going to be compiled by the C++ compil
In regard to: Re: libtool C++ link bug with -lm functions with Sun Workshop...:
On Wed, 19 Mar 2008, Tim Mooney wrote:
That means that doing something like
AC_INIT(lttest, 0.60.5)
AC_CONFIG_SRCDIR(configure.ac)
AC_PROG_CXX
AC_LANG([C++])
AC_CHECK_FUNCS(sqrt)
AC_OUTPUT
will always detect sq
On Wed, 19 Mar 2008, Tim Mooney wrote:
That means that doing something like
AC_INIT(lttest, 0.60.5)
AC_CONFIG_SRCDIR(configure.ac)
AC_PROG_CXX
AC_LANG([C++])
AC_CHECK_FUNCS(sqrt)
AC_OUTPUT
will always detect sqrt(), because the C++ compiler added `-lm -lc'
behind the scenes.
Then it seems