Re: Using __attribute__((target("arm"))) on ARM cross compiler: warning: target attribute is not supported on this machine [-Wattributes]

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

 




On 31/05/16 14:59, Gabriel Marcano wrote:
This was added for GCC 6.1. So if you want to use target attributes
you'll have to use that version. They are not supported in GCC 5.3.

Oh. I swore I had read about the target attribute in earlier
documentation, but I guess I was wrong. Looks like I am going to have
to learn how to compile a cross-compiler.

GCC 5.3 supports some function attributes
(see https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gcc/Function-Attributes.html#Function-Attributes)
like "interrupt", but not _target_ attributes like "arm" or "thumb".

Kyrill

Thanks.

Gabriel E. Marcano




[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