Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2009 12:25:01 -0400
From:      Chuck Robey <chuckr@telenix.org>
To:        Vassilis Laganakos <vassilis.laganakos@yahoo.com>
Cc:        Guillaume Ballet <gballet@gmail.com>, freebsd-arm@freebsd.org
Subject:   Re: ARMv7 - EABI - Cross Compiler
Message-ID:  <4A27F55D.40101@telenix.org>
In-Reply-To: <360403.90502.qm@web59402.mail.ac4.yahoo.com>
References:  <fd183dc60906040612td250b16gb8b289293bb85671@mail.gmail.com> <360403.90502.qm@web59402.mail.ac4.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
FORGET about the llvm question, I just saw the mail about it being imported to svn.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

> 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
> 
> 
> 
>       
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A27F55D.40101>