Re: Why no -march=athlon?

M. R. Brown (mrbrown@0xd6.org)
Mon, 17 Dec 2001 11:40:20 -0600


--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* nbecker@fred.net <nbecker@fred.net> on Mon, Dec 17, 2001:

> I noticed that linux/arch/i386/Makefile says:
>=20
> ifdef CONFIG_MK7
> CFLAGS +=3D -march=3Di686 -malign-functions=3D4=20
> endif
>=20
>=20
> Why not -march=3Dathlon? Is this just for compatibility with old gcc?

The recommend kernel compiler is gcc 2.95.x, which doesn't support
"-march=3Dathlon".

> If so, can't we fix it with an ifdef?

Can you fix it? You'd have to parse the output of `gcc -v`, I think
kbuild 2.5 does this, so start there first.

M. R.

--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8Hi4EaK6pP/GNw0URArqgAKC4uxzsHzmpUxeLaBh9fDUfzRPA/QCgtKWd
nlQfR5kP4wxYSAflLRkG0Cc=
=kRtN
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/