From owner-freebsd-arm@FreeBSD.ORG Thu Jun 4 16:22:55 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D24651065673 for ; Thu, 4 Jun 2009 16:22:55 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id AD7248FC0A for ; Thu, 4 Jun 2009 16:22:55 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 4339 invoked from network); 4 Jun 2009 16:22:55 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Jun 2009 16:22:52 -0000 Message-ID: <4A27F4C9.5070100@telenix.org> Date: Thu, 04 Jun 2009 12:22:33 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Vassilis Laganakos References: <360403.90502.qm@web59402.mail.ac4.yahoo.com> In-Reply-To: <360403.90502.qm@web59402.mail.ac4.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Guillaume Ballet , freebsd-arm@freebsd.org Subject: Re: ARMv7 - EABI - Cross Compiler 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: Thu, 04 Jun 2009 16:22:56 -0000 Vassilis Laganakos wrote: > > >>> Doesn't xdev build the 4.2.1 version of gcc, like what's in the tree now? > >>> That's unacceptable to me, gcc didn't bring in support for the Cortex-A8 >>> processor until 4.3.0. I was able to build a cross-gcc easily using a target >> of >>> "arm-linux-gnueabi", but I'm not sure if that sort of gcc will do for building >>> FreeBSD. I'll worry about getting that gcc into the build, but will it work >> for >>> me on a binary basis? >>> >> I used arm-none-eabi to compile my loader for the BeagleBoard so as to >> get rid of the linux-specific stuff by default. But maybe you should >> define something like arm-freebsd-eabi in gcc's build configuration? >> Thanks SO much, giving me the info on the targets was the item I most badly needed, but you're the only fella who addressed that directly. Basically, you got rid of my single remaining problem (at the pre-build level, at least), it's something that no amount of Googling would show me. I'm so damned pleased! From all the hints I got, there appears to be vanishingly little chance of our tree going to gcc-4.3.+, because everyone wants to use LLVM. I don't stand against that, but I don't want to wait, either, and (as of today) llvm doesn't support the Cortex-A8 (it will soon). Actually, I'm rereading my Dragon book, so I can understand the llvm better. It does look to be better organized than gcc, from first glance. I can't find the code (outside ports) to build llvm, do you have any idea where it is? If it's in a p4 archive, you have a URL for it? > The arm-none-eabi will give you stuff for bare-metal applications, and the > arm-linux-eabi (or arm-linux-gnueabi) will give you stuff for linux. For FreeBSD now, > from what I've read there is no arm-freebsd-eabi; I tried that when I built GCC 4.4.1 > and it wouldn't accept it. > > What I've build is arm-unknown-freebsd, although the "unknown" part could > be ommited. Please bear with me while I look for the URL I found the naming > conventions... > > Thanks, > Vasi > > > > >