Safe (but quick) GCC settings on a PC64 with 5.3?

David O'Brien obrien at freebsd.org
Mon Dec 13 12:53:30 PST 2004


On Mon, Dec 13, 2004 at 09:43:34AM -0800, Marcel Moolenaar wrote:
> On Dec 13, 2004, at 9:30 AM, Kirk Strauser wrote:
> >I currently have these in my /etc/make.conf:
> >
> >  CPUTYPE=ev45
> >  CFLAGS= -O -pipe -mieee
> >  COPTFLAGS= -O -pipe
> 
> I would start by raising the optimization level to 2 (as in -O2). This
> is our default now in -CURRENT and -STABLE and -CURRENT aren't really

I would use "-O2 -fno-strict-aliasing" otherwise there can be problems
with ports.

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-alpha mailing list