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