From owner-freebsd-hackers@FreeBSD.ORG Thu May 21 12:10:27 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 4140110656A6 for ; Thu, 21 May 2009 12:10:27 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id E83D38FC15 for ; Thu, 21 May 2009 12:10:26 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id 17E238FC4F for ; Thu, 21 May 2009 16:10:24 +0400 (MSD) Received: from localhost (dhcp170-227-red.yandex.net [95.108.170.227]) by mx0.deglitch.com (Postfix) with ESMTPSA id E257D8FC4E; Thu, 21 May 2009 16:10:23 +0400 (MSD) Date: Thu, 21 May 2009 16:10:18 +0400 From: Stanislav Sedov To: xorquewasp@googlemail.com Message-ID: <20090521161018.66b3015c@FreeBSD.org> In-Reply-To: <20090521095305.GA27043@logik.internal.network> References: <20090521095305.GA27043@logik.internal.network> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu May 21 16:10:24 2009 X-DSPAM-Confidence: 0.9899 X-DSPAM-Improbability: 1 in 9809 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4a1544b0994291380925937 Cc: freebsd-hackers@freebsd.org Subject: Re: compiling system binutils as cross tools 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: Thu, 21 May 2009 12:10:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 21 May 2009 10:53:05 +0100 xorquewasp@googlemail.com mentioned: > Hi. > > How do I compile the system binutils (contrib/binutils) as i386 -> > x86_64 cross utils? That is, binutils that will run on an i386 host but > will produce x86_64 binaries? > > I'm trying to produce a bootstrapping compiler for a port and need to > get these working. I've spent a while reading Makefiles but would rather > get information from someone who actually knows rather than waste > *another* week on this stuff. > > I'd rather not compile the entire world if it can be avoided. > You can also try using devel/cross-binutils to build cross-tools for x86_64-freebsd. Random people reported they're working fine. - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkoVRK4ACgkQK/VZk+smlYGbjwCff1f6hJ+PAE4OSqPV7IIQi8kY 8iwAn2CcQ3H9D5Q+mZdern+11PgRGapq =Amr/ -----END PGP SIGNATURE----- !DSPAM:4a1544b0994291380925937!