64-bit for OS kernel development

Ian Lance Taylor iant@google.com
Sat Feb 9 04:41:00 GMT 2008


"Frank W. Miller" <fwmiller@cornfed.com> writes:

> Another question, if I want to optimize for core 2 duo, what -mtune should I
> use?

-mtune=core2.  But it's not supported in gcc 4.2.x.  It will be
supported in gcc 4.3.0 when it comes out.

In 4.2 it's probably best to use -mtune=generic, which is the default
anyhow.

Ian



More information about the Gcc-help mailing list