From owner-freebsd-hackers@FreeBSD.ORG Thu May 21 09:53:09 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 C79A51065677 for ; Thu, 21 May 2009 09:53:09 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id 582F48FC0A for ; Thu, 21 May 2009 09:53:09 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ewy3 with SMTP id 3so1108580ewy.43 for ; Thu, 21 May 2009 02:53:08 -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:subject :message-id:mime-version:content-type:content-disposition; bh=x/NBjfU+zWVc0GBzdZCUWy3kScI0rkAjKXRRGMCbwsU=; b=w1e6IIkYM4OsAbG8FYo1Cz9f15d/GWpfl/0/hHg7qy8YwMaEnvI+LxpBy+zcNIo9pu 7mUm7d8cOgltJCZukhMElHSZrfmmukMjGo+v1EWY5QDvmpMds8Y7xczH7lpkA56qlVbL dPwKZwRzsqHBZDUYaQlfU5I2uNSw94m5REPsY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition; b=GqtwT/JOjRrH0KIHMt+92gXwyZB9tYpowmCGFaThWV2fXQoTsbglQDT3mL/gnyt+YL y2CB9W7QjCvUqt8xeSfLbWbScSjnn2oDNovw8AVnRTX1cLhWaam7jrrvLB/YyJkrrZxE ZDDda6Vv4hwkMKEbFNgGrnso7rZ1XyXIhkZI0= Received: by 10.210.36.8 with SMTP id j8mr781865ebj.38.1242899587511; Thu, 21 May 2009 02:53:07 -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 23sm1549751ewy.44.2009.05.21.02.53.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 May 2009 02:53:07 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 11001) id 319B65D59; Thu, 21 May 2009 09:53:05 +0000 (UTC) Date: Thu, 21 May 2009 10:53:05 +0100 From: xorquewasp@googlemail.com To: freebsd-hackers@freebsd.org Message-ID: <20090521095305.GA27043@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: 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 09:53:10 -0000 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. cheers, xw