From xemacs-m  Mon Jun  9 14:50:25 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id OAA04651
	for <xemacs-beta@xemacs.org>; Mon, 9 Jun 1997 14:50:24 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id NAA20092; Mon, 9 Jun 1997 13:09:35 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id MAA10423; Mon, 9 Jun 1997 12:48:54 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id MAA07744; Mon, 9 Jun 1997 12:48:50 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id MAA13523; Mon, 9 Jun 1997 12:48:51 -0700
Date: Mon, 9 Jun 1997 12:48:51 -0700
Message-Id: <199706091948.MAA13523@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Adrian Aichner <aichner@ecf.teradyne.com>
Cc: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>
Subject: Build Failure: xemacs-20.3-b4 --with-gcc=no on sparc-sun-solaris2.5
In-Reply-To: <rxsk9k6h3e8.fsf@midnight.ecf.teradyne.com>
References: <rxsk9k6h3e8.fsf@midnight.ecf.teradyne.com>
X-Mailer: VM 6.32 under 20.3 XEmacs Lucid (beta4)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "AA" == Adrian Aichner <aichner@ecf.teradyne.com> writes:

AA> This used to work all the way through xemacs-20.2-b6:

AA> I would use a script like the one below. I only added --with-xpm=yes
AA> in accordance with the release notes.


AA> For xemacs-20.3-b4
AA> sh -xv ~/sh/configure.engine
AA> run in /usr/local/xemacs-20.3-b4 fails while leaving the following
AA> files of interest in /usr/local/xemacs-20.3-b4:

AA> configure:1560: checking whether the C compiler (cc -g -O2 ) works
AA> configure:1576: cc -o conftest -g -O2             conftest.c         1>&5

The "-g -O2" was put there by autoconf 2.

In a beta coming to you sometime soon, configure will do a better job
of detecting compile flags, and will never automatically use -O2.

Fewer and fewer compilers support "-O2", since careful reading of
POSIX.2 suggests that it contravenes that standard.

Martin

