This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/41180] can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6



------- Comment #13 from howarth at nitro dot med dot uc dot edu  2009-08-29 01:40 -------
Opps, the corrected proposed patch is...

Index: config.guess
===================================================================
--- config.guess        (revision 151196)
+++ config.guess        (working copy)
@@ -1258,6 +1258,15 @@
        exit ;;
     *:Darwin:*:*)
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+        eval $set_cc_for_build
+        sed 's/^                //' << EOF >$dummy.c
+        main()
+            {
+            }
+EOF
+        if test "`$CC_FOR_BUILD -o $dummy $dummy.c; file $dummy | grep -c
x86_64`" = 1 ; then
+               UNAME_PROCESSOR=x86_64 
+       fi
        case $UNAME_PROCESSOR in
            unknown) UNAME_PROCESSOR=powerpc ;;
        esac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41180


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