Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2005 21:07:01 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-alpha@freebsd.org
Subject:   Question about cc flags in buildkernel
Message-ID:  <200503072107.13313.kirk@strauser.com>

next in thread | raw e-mail | index | archive | help
--nextPart1465565.NDzRggOLac
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm building a kernel on a Cabriolet (EV45/275 MHz), and am a little curious
about something in the make output.  My make.conf has these:

   CPUTYPE=3Dev45
   CFLAGS=3D -O3 -pipe -fno-strict-aliasing -mieee
   COPTFLAGS=3D -O3 -pipe -fno-strict-aliasing -mieee

and I'm seeing lines like:

   cc -c -O2 -pipe -fno-strict-aliasing -mieee -fno-strict-aliasing -mcpu=
=3Dev45 -mieee -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensi=
ons -std=3Dc99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/=
acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/s=
rc/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev=
/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -=
finline-limit=3D15000 --param inline-unit-growth=3D100 --param large-functi=
on-growth=3D1000 -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding /usr/src/s=
ys/alpha/alpha/genassym.c

The part that's confusing me is the "-Wa,-mev6".  What exactly does that
refer to?  I couldn't find it in the "as" info page, but it looks at first
glance like it's targetting an architecture that I don't have.  Am I
misreading that?  If not, why did it select that?  Could this be why my
EV45/275 seems to run like a Pentium 90?
=2D-=20
Kirk Strauser

--nextPart1465565.NDzRggOLac
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCLRbh5sRg+Y0CpvERAl97AJ9IJow6yrJlAVUyA/KqWW9CZzaHvwCcDiGY
3s/ZN0EaIo3RrHfsIK1advg=
=PHtt
-----END PGP SIGNATURE-----

--nextPart1465565.NDzRggOLac--



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