From owner-freebsd-ia64 Sat Aug 31 21:58:27 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D5C237B400 for ; Sat, 31 Aug 2002 21:58:25 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A6443E6A for ; Sat, 31 Aug 2002 21:58:16 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 6A0A12A7D6; Sat, 31 Aug 2002 21:58:06 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Marcel Moolenaar Cc: Henri-Pierre CHARLES , FreeBSD-ia64@FreeBSD.ORG Subject: Re: Build cross gcc i386 -> ia64 In-Reply-To: <20020901034607.GB1623@dhcp01.pn.xcllnt.net> Date: Sat, 31 Aug 2002 21:58:06 -0700 From: Peter Wemm Message-Id: <20020901045806.6A0A12A7D6@canning.wemm.org> Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Marcel Moolenaar wrote: > On Fri, Aug 30, 2002 at 06:02:58PM +0200, Henri-Pierre CHARLES wrote: > > Hello, > > I'm trying to build a cross environment on an i386 platform, for an ia64 > > target. I plan to use ski. > > > > I try to start with a gcc 3.2. > > > > binutils 2.12 build and install correctly > > gcc build correctly, but I can't build libgcc. > > I believe this is a header conflict. IINM, you only have to remove the > headers that get installed under /usr/local/lib/gcc-lib/$TARGET/$VER/include Is it about being unable to include ? I usually solve that one by doing a 'cd src/include; make MACHINE_ARCH=ia64 \ DESTDIR=/usr/local/ia64-unknown-freebsd all install' after doing some preliminary mkdirs to create /usr/local/ia64-unknown-freebsd/usr/include/* directories. Then make a symlink from as /usr/local/ia64-unknown-freebsd/include to point to there. Doing the symlink rather than copying random bits makes it easier when it comes time to update the includes. You'll need these nearby for cross building the libraries as well. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message