[Bug bootstrap/41180] can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6
howarth at nitro dot med dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Tue Sep 1 04:23:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list