From owner-freebsd-hackers@FreeBSD.ORG Tue May 19 13:59:20 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2BC2106564A for ; Tue, 19 May 2009 13:59:20 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2641A8FC29 for ; Tue, 19 May 2009 13:59:19 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ey-out-2122.google.com with SMTP id 9so1177384eyd.7 for ; Tue, 19 May 2009 06:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to; bh=HG4C1lvQVwciLWkyeBgr9tbryYT5WPIbFQb8V6ZKaoc=; b=Z5n25OphwHmflPBZRYcGj6CCkuuKUKNe55l1GFusHkuqbBhXVoBelK7A5+sUz6Y874 NYumhijs6Z7hat+JrIb0J0pYy9aEOc+YY6V9EFMWAmupRxxbubYbewfwGdKhc02XvzLK 7RN7pZAzcxPMhcZo4pWC+wZIoMTI5w4e2mTrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=LEm1cGYDIkc3KTnPQq7O/VkL8uLm4kYqDBgjH5Nk4wtPUJ4GTefq0Cv4W8HA/HU4rY xZhLQuRI6gkgbBoZWoUxIBytluRWK594guWLJ+PaA3jJrCYBkT90fQEzXH18Jdl8OIxH ahhBtnVWVPlVBjEAxM2Qc3mAU+/q07vC9oOj4= Received: by 10.210.127.13 with SMTP id z13mr147007ebc.10.1242741559044; Tue, 19 May 2009 06:59:19 -0700 (PDT) Received: from logik.internal.network (81-86-41-187.dsl.pipex.com [81.86.41.187]) by mx.google.com with ESMTPS id 11sm7102002ewy.98.2009.05.19.06.59.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 May 2009 06:59:18 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 11001) id 527D85D59; Tue, 19 May 2009 13:59:17 +0000 (UTC) Date: Tue, 19 May 2009 14:59:17 +0100 From: xorquewasp@googlemail.com To: Daniel Eischen Message-ID: <20090519135917.GA5391@logik.internal.network> References: <20090505022151.GA32477@logik.internal.network> <20090506140325.GA69468@logik.internal.network> <20090506152222.GC69468@logik.internal.network> <20090508211022.GA37475@logik.internal.network> <20090518084831.GA95354@logik.internal.network> <20090519114548.GA8610@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-hackers@freebsd.org Subject: Re: bootstrapping gnat GCC on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 13:59:21 -0000 On 2009-05-19 09:51:08, Daniel Eischen wrote: > > Even so, you shouldn't need a cross-binutils, only a native > (amd64) binutils. Your port won't be a cross port, but a > native amd64 port. The native amd64 GNAT will need a native > binutils, not a cross binutils. The only thing you will have > to make is a minimal bootstrap (native amd64) compiler. > > Of course you can create a cross port if you want to facilitate > cross builds for ports that don't exist yet, but no one running > amd64 will want to make a cross build when they can make a > faster native build with less dependencies. 'lo, Sorry, I should have been a bit clearer there. I mean if in the very worst case, I can't get by with the system binutils, I can create a "native" set of recent binutils using the cross-binutils port: cd /usr/ports/devel/cross-binutils make TGTARCH=x86_64 TGTABI=freebsd7.2 install That way, the port can just depend on those and I won't have to create my own binutils port. Like I said, I'm hoping this won't happen. Current status is that I have a working native AMD64 GNAT using 2.19 binutils! $ gcc44 -v Using built-in specs. Target: x86_64-pc-freebsd7.2 Configured with: /usr/jails/i386/root/gcc-4.4.0/configure --build=x86_64-pc-freebsd7.2 --enable-languages=c,ada --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=44 --bindir=/usr/local/bin/gcc44 --libdir=/usr/local/lib/gcc-4.4.0 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/gcc44 Thread model: posix gcc version 4.4.0 (GCC) Needless to say, I'm pretty pleased. xw