Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 01:11:44 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: ports/math/cxsc/files patch-Makefile ports/math/cxsc Makefile
Message-ID:  <20020326235513.G3975-100000@blues.jpj.net>
In-Reply-To: <200203261952.g2QJqgp0012365@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> >   Ignore CFLAGS.  As noted by the authors, optimization "takes too
> >   much RAM."
>
> But things like "-march=i686" does not... May be, the main Makefile
> can be modified to strip ``-O[1-9]*'' from the CXXFLAGS, instead?

That sounds fine, although I suppose a determined user could choose
options that trigger the bug.  It looks to me as though the -O options may
be shorthand for combinations of -f options.  The gcc info pages say:

     When you specify `-O', the compiler turns on `-fthread-jumps' and
     `-fdefer-pop' on all machines.  The compiler turns on
     `-fdelayed-branch' on machines that have delay slots, and
     `-fomit-frame-pointer' on machines that can support debugging even
     without a frame pointer.  On some machines the compiler also turns
     on other flags.

Anyway, go ahead with your idea.
-- 
Trevor Johnson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020326235513.G3975-100000>