Hans de Graaff writes:
On Thu, 2011-04-28 at 10:51 +0900, Stephen J. Turnbull wrote:
> I think -fno-strict-aliasing is now on by default.
Sorry, that isn't true for beta XEmacs, you need to tell configure
--with-optimization. For the release, optimization will default on,
of course.
> From last night's Installation:
On Gentoo we use the user's CFLAGS definitions
In beta XEmacs, we don't optimize by default since gcc tends to
optimize everything interesting into oblivion. If you do want
optimization, the right way to do it is with the --with-optimization
and maybe --with-cflags-optimization configure options. I'm not
entirely happy with the UI here, but it works well enough. The
advantage that most users are protected against their ignorance of
things like -fno-strict-aliasing.
AFAIK your users should be satisfied with ./configure
--with-optimization followed by their usual XEmacs options. This will
set our defaults (for GCC, currently "-O3 -fno-strict-aliasing"), and
then appends $CFLAGS, which IIRC should have the effect of overriding
XEmacs's preferences if you have, for example, "CFLAGS=-O2".
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta