From owner-freebsd-arch@FreeBSD.ORG Sun Apr 28 12:06:23 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8F3165B4; Sun, 28 Apr 2013 12:06:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id F3A5E12D1; Sun, 28 Apr 2013 12:06:22 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id r6so649845wey.31 for ; Sun, 28 Apr 2013 05:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=nHBX0Ao7QhvjMdTv4z+ffF6PD5WZEjoKkGDk0Hnu94w=; b=ox2PW6GgFyZCz1g3/ywJrU3jaWJh3PGeQgVBnOS7uWwN9ElsYu+w3c2eNmbeTLpbUG tTqKDHPoq//PjRjYdRx9FY8EF67JuNmr1IsOg46mGlLcnhthXiM5tlhm+J9pYbLNUn1l pnXQ094U7DAOK73t2LL3GqxtLhbXsnteZFmFJMLjETmM2yQR3SPy3WFGVpAZ7lWdC/YR kymGq/LuAGN+CtFjGKGlhuBr6qCjGtyE9zcqAY68qpVUqytG4z25ekMW+6LMBPzuKe5s 4okW+npWDakpR7uidu3fQtDn74m9cHkzBy8V8CgaSK/fh+aTt4ODRBIVoPRn7FVGkzza xLNg== MIME-Version: 1.0 X-Received: by 10.180.87.170 with SMTP id az10mr12576854wib.3.1367150782058; Sun, 28 Apr 2013 05:06:22 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.58.138 with HTTP; Sun, 28 Apr 2013 05:06:21 -0700 (PDT) In-Reply-To: <20130228172318.GB20864@lor.one-eyed-alien.net> References: <20130227003517.GB7348@lor.one-eyed-alien.net> <28404C12-67F3-44F0-AB28-02B749472873@bsdimp.com> <51BB3E17-128A-4989-B272-D8B40D4B854B@bsdimp.com> <20130227190804.GB17489@lor.one-eyed-alien.net> <13FB8CB0-9937-4BD8-AE89-0D24494D8663@bsdimp.com> <20130227214445.GA19594@lor.one-eyed-alien.net> <1CC1DB5A-E87A-456C-AD2C-E203146BB736@bsdimp.com> <20130227221552.GC19594@lor.one-eyed-alien.net> <20130228000241.GF19594@lor.one-eyed-alien.net> <20130228172318.GB20864@lor.one-eyed-alien.net> Date: Sun, 28 Apr 2013 05:06:21 -0700 X-Google-Sender-Auth: 8VT5d0OadmSe-ZuY1H-SgFuKmAw Message-ID: Subject: Re: [RFC] external compiler support From: Adrian Chadd To: Brooks Davis Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 12:06:23 -0000 Hi, On 28 February 2013 09:23, Brooks Davis wrote: >> Here's another version that addresses those comments. I decided to > rename CROSS_*_PATH to CROSS_*_PREFIX because it offended my > sensibilities to call something that may not refer to a filesystem > object a path. > So I'd like to use this with gcc-4.7 or later, specifically to use a mips24k and mips74k targeting cross compiler. Apparently the later gcc compilers generate much tighter mips assembly and I'd like to test this theory out. Since i haven't had to this manually in a long, long time, does someone have a howto/example for how to install a cross-compiler from ports, then make this patch use it for building? I think (?) that generating mips74k code requires a new set of binutils (for any added instructions) but I'm not 100% on that. Again, this is uncharted territory. I'll give this more of a whirl (and test the resulting built components!) if I can get a little hand-holding here. thanks! Adrian