I read in the gcc release notes:

"Tuning for Intel Core 2 processors is available via -mtune=core2 and 
-march=core2"

Is there any difference in setting -mtune and -march?
The BUILD64="-m64" is something that is advised on the clfs page for building 
for 64 bit.

When building tools they start every time with: CC="${CC} ${BUILD64}"
Hence I am considering to say BUILD64="-m64 -march=core2"
Maybe this is already not necessary, in which case BUILD64="-m64 -march=core2 
-mtune=core2"
Would be totally useless and redundant?
Kind Regards,

Reinoud.



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Nicholai 
Vesterløkke
Sent: Thursday, March 19, 2009 1:43 AM
To: CLFS Support
Subject: Re: [Clfs-support] 64 bit cross compile

 > "Koornstra, Reinoud" <[email protected]>
>
> Would it be allright to set the BUILD64 variable to this:
> 
> export BUILD64="-m64 -mtune=core2"
> 
> instead of just BUILD64="-m64"?

I would just try -mach=core2
-mach implies -mtune, but I',m not sure about m64. I just can't see why 
not.

Regards
Nicholai
 
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to