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

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 18 Aug 1998 15:54:22 +0200


(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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._