Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2000 12:20:00 -0800 (PST)
From:      Doug Barton <Doug@gorean.org>
To:        "Jeffrey J. Mountin" <jeff-ml@mountin.net>
Cc:        Christian Weisgerber <naddy@mips.rhein-neckar.de>, freebsd-current@FreeBSD.ORG
Subject:   Re: gcc -Os optimisation broken (RELENG_4)
Message-ID:  <Pine.BSF.4.21.0003161217560.16638-100000@dt051n0b.san.rr.com>
In-Reply-To: <4.3.2.20000316132120.00af5ce0@207.227.119.2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Mar 2000, Jeffrey J. Mountin wrote:

> Wondering why one would use -mcpu and not -march.  If the code runs only on 
> Celerons, PII's, and PIII's why would one *not* use -march.
> 
> I'm curious about (possible) breakages with -mcpu or -march compared to -Ox 
> settings which seem to break things more often than -O.  Only ask, since 
> -Ox and individual flags (rather than the mulititude added going from -O to 
> -O2) are used far more often.

	Eager to fire my new-found gun in the direction of my feet I built
world and kernel last night with -0s -march=pentium. So far so good
(although I haven't given it a real workout yet). Now that I now
'pentiumpro' should be a better choice, I'll give that a whirl
tonight. After reading the man page I had to agree with your point that
-march seemed like a better option, and I don't have cross-platform issues
to deal with here.

Doug
-- 
"While the future's there for anyone to change, still you know it seems, 
 it would be easier sometimes to change the past"

     - Jackson Browne, "Fountain of Sorrow"



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




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