From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23502 invoked by alias); 1 Sep 2009 04:23:44 -0000 Received: (qmail 23463 invoked by uid 48); 1 Sep 2009 04:23:27 -0000 Date: Tue, 01 Sep 2009 04:23:00 -0000 Message-ID: <20090901042327.23462.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/41180] can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00010.txt.bz2 ------- 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