This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Error: selected processor does not support `bx lr' in ARM mode
- From: Andrew Haley <aph at redhat dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 17 Mar 2016 09:02:25 +0000
- Subject: Re: Error: selected processor does not support `bx lr' in ARM mode
- Authentication-results: sourceware.org; auth=none
- References: <20160315125716 dot 9ce8f0a8d6b209b80b1735f3 at laposte dot net> <56E80A95 dot 4000508 at st dot com> <20160317070929 dot bdd6ca25d67c6ffdb23700b4 at laposte dot net>
On 17/03/16 06:09, YuGiOhJCJ Mailing-List wrote:
> Indeed, if I give the architecture instead of the cpu it works.
> But why I can't give the cpu?
> I know that my cpu is an arm6 so I don't see why I should only give the architecture.
Your CPU is not an arm6. The ARM6 was released in 1992. armv6
is not arm6. Don't say --with-cpu=arm6.
The architecture revision is not the same as the name of the CPU.
Yes, it's confusing.
Andrew.