Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 03:11:57 -0700 (PDT)
From:      Vassilis Laganakos <vassilis.laganakos@yahoo.com>
To:        Damjan Marion <damjan.marion@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: LLVM/Clang cross-compiling for ARM
Message-ID:  <252890.29834.qm@web112102.mail.gq1.yahoo.com>

next in thread | raw e-mail | index | archive | help




----- Original Message -----
[...]
> Hi Vassilis,
> 
> On Apr 14, 2011, at 12:02 AM, Vassilis Laganakos wrote:
> 
> > Hello Damjan,
> > 
> > ----- Original Message -----
> >> From:Damjan Marion <damjan.marion@gmail.com>
> >> To:freebsd-arm@freebsd.org
> >> Cc:
> >> Sent:Sunday, April 10, 2011 5:10 PM
> >> Subject:Re: LLVM/Clang cross-compiling for ARM
> >> 
> >> 
> >> Hi,
> >> 
> >> What is the current status of LLVM/Clang cross-compiling for ARM targets?
> >> Is anybody working actively on this?
> >> 
> > 
> > I started taking a look into building llvm as cross-compiler
> > for ARM and trying to build -CURRENT for an existing port,
> > so see how far we get :)
> > 
> > I'm currently stuck a bit in the first step :) As Mark T. pointed
> > out in a recent email, llvm in -CURRENT does not cross-build,
> > so we have to use an external compiler for now.
> 
> What exactly is missing in current version of llvm in -CURRENT?
> 
I didn't actively look into it, I trusted the info from http://wiki.freebsd.org/BuildingFreeBSDWithClang
that says: "Please note that cross compiling is not yet supported by clang." :)
So I went off to try building a cross-compiling llvn/clang that builts source
for ARM.

> After reading some high level overview of llvm i was under impression
> that llvm natively supports multiple targets, but seems that I was wrong.
> 
I wasn't aware of that, but I do need to read a bit more about llvm ...

> > 
> > I'll hopefully get back soon with some useful info about this...
> 
> Cool, please keep us updated.
> 
Sure!

Thanks,
Vassilis L.




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