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
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++ compiler
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
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++
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++ compiler on Linux too. I found it when trying to build
GNU aspell
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
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