Jack Howarth wrote:
I am wondering if anyone with a MacIntel box can tell me
what the default settings for the Apple gcc 4.0 compiler are on
that architecture for -mtune and -march? Several web sites
recommend the use of -mtune=prescott -march=pentium-m for FSF gcc.
Are these the automatic defaults in Apple's gcc?
FWIW, in the list of preprocessor definitions ("cpp -dM </dev/null"),
one finds
#define __tune_nocona__ 1
which, according to man gcc, should correspond to
nocona
Improved version of Intel Pentium4 CPU with 64-bit extensions,
MMX, SSE, SSE2 and SSE3 instruction set support.
From gcc -v one finds:
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8
--with-arch=pentium-m --with-tune=prescott --program-prefix=
--host=i686-apple-darwin8 --target=i686-apple-darwin8
--
Martin
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel