[Clfs-support] 64 bit cross compile

Koornstra, Reinoud koornstra at hp.com
Thu Mar 19 00:42:36 PDT 2009


Ok Thanks, hence with -m64 I should be ok then.
Kind Regards,

Reinoud.

-----Original Message-----
From: clfs-support-bounces at lists.cross-lfs.org [mailto:clfs-support-bounces at lists.cross-lfs.org] On Behalf Of Nicholai Vesterløkke
Sent: Thursday, March 19, 2009 12:39 AM
To: CLFS Support
Subject: Re: [Clfs-support] 64 bit cross compile

> "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
_______________________________________________
Clfs-support mailing list
Clfs-support at lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org



More information about the Clfs-support mailing list