From owner-freebsd-arm@FreeBSD.ORG Fri Jan 20 15:30:07 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19F671065670 for ; Fri, 20 Jan 2012 15:30:07 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id C2EB48FC0A for ; Fri, 20 Jan 2012 15:30:06 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RoGPm-000Eaq-6g for arm@freebsd.org; Fri, 20 Jan 2012 15:30:06 +0000 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RoGMT-000DkR-6a; Fri, 20 Jan 2012 15:26:41 +0000 To: Tim Kientzle In-reply-to: <7E53112E-DE29-4145-B597-D39AA77252C5@kientzle.com> References: <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com> <7E53112E-DE29-4145-B597-D39AA77252C5@kientzle.com> From: Mark Murray Date: Fri, 20 Jan 2012 15:26:41 +0000 Message-Id: Cc: arm@freebsd.org Subject: Re: ports cross-compilers vs. native toolchain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 15:30:07 -0000 Tim Kientzle writes: > > On Jan 18, 2012, at 11:30 PM, Johny Mattsson wrote: > > > On 19 January 2012 16:49, Tim Kientzle wrote: > > Sounds like I should keep poking at u-boot with the native cross > > tools. > > > > When I was building custom uboot binaries for my Sheevaplugs, I used > > the CodeSourcery pre-built ARM toolchain for Linux (on Linux). It was > the path of least resistance for me, and it worked really well. > > > I don't know if that's a workable path for you or not, but I thought > > I'd throw the suggestion out there. > > Were this a work project, I would do exactly that in order to keep > making forward progress. > > For the moment, I'm more curious about just how far I can push this > using FreeBSD tools only. I've locally updated cross-(binutils|gcc|gdb) to the latest stable versions, and they seem to work really well for u-boot, OpenPilot and a couple of other things. I've build-tested them for all the *-*-(binutils|gcc|gdb) instances that I could find, but I've only used arm-eabi-(binutils|gcc|gdb) in anger, and then only for C. M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160