From Martin Maechler <maechler@stat.math.ethz.ch>  Tue Aug 18 14:54:22 1998
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Tue, 18 Aug 1998 15:54:22 +0200
Subject: Problem in "configure" for Solaris (cc) -- solved (partly) --
In-Reply-To: <199808181313.PAA28150@sophie.ethz.ch> (message from Martin
 Maechler on Tue, 18 Aug 1998 15:13:46 +0200)
Message-ID: <199808181354.PAA01678@sophie.ethz.ch>

(answering myself, after a suggestion by Kurt Hornik
		 which actually was *not* the solution.. but...)

The configure problem I've just reported
(( setting   CC=cc  in  config.site ))

actually does not show when I either leave the CFLAGS commented out
(which results in CFLAGS=-g) or set CFLAGS="-g -O",

however, it *DOES* show when I set
	CFLAGS=-O2 or CFLAGS="-g -O2"

----

Reading the long output of  ``cc -flags'',
I see that more than average optimization is done using
	cc -xO[1-4]
	    #
Still very funny that "-O2" leads to such bad results with ./configure.
Maybe configure could become smarter here...

Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Problem in "configure" for Solaris (cc) -- solved (partly) --
Martin Maechler