[Clfs-support] 64 bit cross compile

Nicholai Vesterløkke nve at mpitech.com
Thu Mar 19 00:39:25 PDT 2009


> "Koornstra, Reinoud" <koornstra at hp.com>
> 
> I am following the instructions to cross compile a 64 bit linux.
> I noticed now that upon starting to build the minimal system "-
> mtune=k8" is being set automatically when building gmp for example.
> However, I want to use this for intel core 2 duo cpu's.
> Could this result into problems for me?

No, -mtune is only reordering instructions for the architecture.
If you use -march it will generate code specific for the arch.
You can use -mtune=core2 instead

Regards
Nicholai



More information about the Clfs-support mailing list