[LLVMdev] Setting up a cross-compiler for cortex-m3

Wojciech Meyer wojciech.meyer at gmail.com
Mon Jul 23 15:16:33 PDT 2012


salvatore benedetto <salvatore.benedetto at gmail.com> writes:

> On Mon, Jul 23, 2012 at 8:14 PM, Renato Golin <rengolin at systemcall.org> wrote:
>> On 23 July 2012 17:03, Chris Cadwallader <ccadwallader at arxan.com> wrote:
>>> On Darwin, if -march is armv7 clang's driver will assume you want
>>> thumb2 unless you also give it -mno-thumb but that is irrelevant
>>> with mcpu=cortex-m3.
>>
>> I think that Thumb2 should be the default for v7 on any system, not
>> just Darwin. Maybe some ARM folk can comment on this...
>>
>
> Just out of curiosity, is anyone working on this?
> Is there a ticket opened?
>
> And yet out of curiosity, how much of work is this?
> Weeks? Months?
>
> As I have officially switched to clang for my project, I'm very
> interested in seeing this fixed. :-)

AFAIK James Molloy did some work on it some while ago, perhaps he can
comment on this -- when he is back.

--
Wojciech Meyer
http://danmey.org




More information about the llvm-dev mailing list