autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flag issue in AC_PROG_CXX for Sun Studio


From: Bob Friesenhahn
Subject: Re: flag issue in AC_PROG_CXX for Sun Studio
Date: Thu, 25 Feb 2010 20:03:29 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Thu, 25 Feb 2010, Eric Blake wrote:

According to Monty Taylor on 7/30/2009 1:28 PM:
Hey all,

The ever helpful setting of -g into CXXFLAGS by AC_PROG_CXX is incorrect
on Sun Studio (IMHO). Currently, the test checks for Sun Studio compiler
and, if so, injects -g. The problem is, -g on Sun Studio means "include
symbols _AND_ disable inlining" The appropriate flag that's similar to
-g on GCC is -g0. (Thanks Sun Studio, for being weird)

Revisiting an old thread.  Thanks for the report; any suggestions on how
to fix it before the release of autoconf 2.66?

Note that this weirdness only applies to the C++ compiler. I don't believe that the C compiler will accept it.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]