From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 31 09:03:53 2011 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 A6801106564A for ; Sun, 31 Jul 2011 09:03:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 81B3F8FC08 for ; Sun, 31 Jul 2011 09:03:53 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 0017A46B0C; Sun, 31 Jul 2011 05:03:52 -0400 (EDT) Date: Sun, 31 Jul 2011 10:03:52 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: James Jones In-Reply-To: <565C98BA-9B92-4F07-A747-DDA5DC3D7703@freedomnet.co.nz> Message-ID: References: <565C98BA-9B92-4F07-A747-DDA5DC3D7703@freedomnet.co.nz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-hackers@freebsd.org" Subject: Re: MIPS toolchain 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: Sun, 31 Jul 2011 09:03:53 -0000 On Fri, 29 Jul 2011, James Jones wrote: > Does anyone have a prebuilt MIPS tool chain? For FreeBSD-related MIPS work, I generally use the FreeBSD "toolchain" target followed by the "buildenv" environment, but that requires first building a cross-toolchain using TARGET_ARCH and TARGET. However, the result is a pretty sane compiler, linker, etc, setup for the MIPS of your choice (we tend to use mips64eb). We also use the MIPS-provided SDE toolchain for Linux at the CL, but that appears to be out of maintenance, and I haven't found its bug density to be any lower, really, than the even more ageing FreeBSD versions of the tools. In fact, there are some toolchain bugs I'm running into that manifest only in the SDE toolchain and not the FreeBSD toolchain. (Mind you, Philip has commented that in building Uboot for MIPS, he's found FreeBSD bugs that don't appear in the SDE toolchain, so mileage varies). We're greatly looking forward to MIPS support for LLVM, which currently appears very premature indeed. Someone from MIPS appears to be contributing to it, however, and we (cl.cam.ac.uk) hope to provide some implementation support for that effort in the immediate future. Robert