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 #20 from howarth at nitro dot med dot uc dot edu  2009-09-01 04:23 -------
This appears to do what we want on Snow Leopard in combination with the
config.guess patch...

Index: configure.ac
===================================================================
--- configure.ac        (revision 151258)
+++ configure.ac        (working copy)
@@ -1119,6 +1119,14 @@
   rs6000-*-aix*)
     host_makefile_frag="config/mh-ppc-aix"
     ;;
+  x86_64-*-darwin*)
+    case "${target}" in
+    # avoid default x86_64 code generation
+      i[3456789]86-*-darwin*)
+         CC="${CC-gcc} -m32"
+     ;; 
+    esac 
+    ;;
   *-*-lynxos*)
     # /bin/cc is less than useful for our purposes.  Always use GCC
     tentative_cc="/bin/gcc"


-- 


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]