The current config.guess in gcc trunk and gcc 4.4 branch erroneously reports the architecture on darwin10 when running on EMT64 capable hardware. This is due to the use of 'uname -p' to detect the architecture. The config.guess upstream has been patched to take the same approach as SunOS5 of detecting the code generation of the compiler being used...
commit ccf975556a0f6797fe80395cd6f314682a770f15 Author: Ben Elliston <b...@gnu.org> Date: Fri Sep 18 11:04:25 2009 +1000 2009-09-18 Jack Howarth <howa...@bromo.med.uc.edu> * config.guess (*:Darwin:*:*): Handle 64-bit compilers on i386. The new config.guess now properly reports x86_64 in this situation eliminating the need to always pass the triplets manually. -- Summary: config.guess needs to be updated to the latest from git HEAD for darwin10 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41402