This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Using __attribute__((target("arm"))) on ARM cross compiler: warning: target attribute is not supported on this machine [-Wattributes]
- From: Gabriel Marcano <gabemarcano at yahoo dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 31 May 2016 13:59:14 +0000 (UTC)
- Subject: Re: Using __attribute__((target("arm"))) on ARM cross compiler: warning: target attribute is not supported on this machine [-Wattributes]
- Authentication-results: sourceware.org; auth=none
- References: <2143393256 dot 1510941 dot 1464673890382 dot JavaMail dot yahoo dot ref at mail dot yahoo dot com> <2143393256 dot 1510941 dot 1464673890382 dot JavaMail dot yahoo at mail dot yahoo dot com> <574D4924 dot 40301 at foss dot arm dot com>
- Reply-to: Gabriel Marcano <gabemarcano at yahoo dot com>
> 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.
Thanks.
Gabriel E. Marcano