This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR41180 pt2: fix config.guess on darwin10


On Sep 1, 2009, at 11:47 AM, Paolo Bonzini wrote:
Or, since we know the driver is GCC-like even for llvm (right?)

if $CC_FOR_BUILD -E -dM -x c /dev/null|grep __LP64__>/dev/null 2>&1;then
UNAME_PROCESSOR=x86_64
fi

Yes, that works (I hand tested it).



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]