This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error: selected processor does not support `bx lr' in ARM mode


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]