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][Revised2]PR41180 pt2: fix config.guess on darwin10


On Sep 2, 2009, at 8:46 PM, Ben Elliston wrote:
On Wed, 2009-09-02 at 20:01 -0400, Jack Howarth wrote:

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

OK. It's a bit of a shame that we now need GCC installed just to run
config.guess. I have been working hard to reduce the number of systems
that do this.

One could check to see if CC_FOR_BUILD exists. If it doesn't using UNAME_PROCESSOR unchanged is fine.



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