From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 671 invoked by alias); 29 Dec 2009 19:29:57 -0000 Received: (qmail 32737 invoked by uid 48); 29 Dec 2009 19:29:45 -0000 Date: Tue, 29 Dec 2009 19:29:00 -0000 Message-ID: <20091229192945.32736.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/42518] Alignment issue prevents building 64 bit RTS on Snow Leopard In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ebotcazou at gcc dot gnu dot org" 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-12/txt/msg02697.txt.bz2 ------- Comment #8 from ebotcazou at gcc dot gnu dot org 2009-12-29 19:29 ------- > I then try to build GCC4.4.2[x86_64-apple-darwin10.2.0] using > GCC4.4.2[i386-apple-darwin10.2.0], with the reported results. > > [...] > > I've been using --build=x86_64-apple-darwin10.2.0 to indicate that I want to > build a 64-bit compiler, is that not the right method? --build=xxx means you're using a xxx compiler to build. Since you apparently don't have a x86_64 compiler at hand but only a i386, you cannot do that. You first need to build a i386 -> x86-64 cross-compiler (--host=i386-apple-* --target=x86_64-apple-*) with the base i386 compiler and then use the resulting compiler to build a native x86-64 compiler (--build=x86_64-apple-*). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42518