Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2011 21:25:19 -0500
From:      Mark Tinguely <marktinguely@gmail.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:  <4DA65B0F.1040807@gmail.com>
In-Reply-To: <574B5BB8-3BD6-4C87-9FC7-9549C02A2FCD@gmail.com>
References:  <794721.93419.qm@web112111.mail.gq1.yahoo.com> <574B5BB8-3BD6-4C87-9FC7-9549C02A2FCD@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 From distant memory, Clang was looking up the current processor and 
compiled in the assembly options for that architecture (i386). I can't 
remember if it was still kicking out i386 assembly as well. One idea I 
had was short-circuit the answer to those architecture queries and 
return "arm".

Has anyone tried to compile Clang on an ARM arch and then build world 
with that? I suppose that would be a slow development environment.

--Mark.

On 4/13/2011 5:35 PM, Damjan Marion wrote:
> 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?
>
> 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'll hopefully get back soon with some useful info about this...
> Cool, please keep us updated.
>
> Thanks,
>
> Damjan
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>




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