From owner-freebsd-amd64@FreeBSD.ORG Wed Mar 17 16:38:05 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7B6216A4CE for ; Wed, 17 Mar 2004 16:38:05 -0800 (PST) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A878743D1D for ; Wed, 17 Mar 2004 16:38:05 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.10) with ESMTP id i2I0c4fE003398; Wed, 17 Mar 2004 16:38:04 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i2I0buJL003397; Wed, 17 Mar 2004 16:37:56 -0800 (PST) (envelope-from obrien) Date: Wed, 17 Mar 2004 16:37:56 -0800 From: "David O'Brien" To: Kris Kennaway Message-ID: <20040318003756.GB3018@dragon.nuxi.com> References: <20040315212058.C63058@uriah.heep.sax.de> <40563051.3010209@jrv.org> <20040315230601.GA31834@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040315230601.GA31834@xor.obsecurity.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Joerg Wunsch cc: "James R. Van Artsalen" cc: freebsd-amd64@freebsd.org Subject: Re: [kris@obsecurity.org: [ports-amd64@FreeBSD.org: avr-gcc-3.3.2 failed on amd64 5]] X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 00:38:05 -0000 On Mon, Mar 15, 2004 at 03:06:01PM -0800, Kris Kennaway wrote: > > >Since this is a stock GCC 3.3.2 where AMD64 is only used as the host > > >system (--target=avr), and I can't imagine AMD64 is not yet supported > > >by GCC, is there already any experience about what would be needed to > > >configure a GCC on this arch? ... > config.{guess,sub} should be patched to recognize amd64 if you define > GNU_CONFIGURE. Older GCC's used config.{guess,sub} as expected. Newer ones don't do a full configure before the "make" stage. Newer GCC versions do a minimal configure step, and do the full-fledged config.{guess,sub} as part of the "make" stage. So our ports/Templates/ doesn't work as expected. I thought GCC started this with 3.3, but maybe it was 3.2. -- -- David (obrien@FreeBSD.org)