Re: Trying to compile gcc 5.2.0 for ARM Cortex-M4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13.11.2015 16:16, Kyrill Tkachov wrote:

>>> I only care about Cortex-M4, which exclusively uses Thumb-2. How can I
>>> completely disable Thumb-1 so I can successfully build gcc?
>> My equivalent for 4.9.1 had —with-cpu=cortex-m4 (and not
>> —with-tune=cortex-m4)
> 
> Yes, --with-tune doesn't specify which architecture level you're
> trying to get so GCC probably defaults to something really old that
> uses Thumb1 when asked to compile for -mthumb.

Ah, thanks! I had originally --with-tune AND --with-cpu, but configure
complained about that. That's why I threw --with-cpu out. Apparently, I
threw the wrong one out :-)

Thanks for the hint!
Best regards,
Johannes



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux