comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: support for Cortex-M7 in GNAT-GPL?
Date: Thu, 16 Jul 2015 20:12:24 +0100
Date: 2015-07-16T20:12:24+01:00	[thread overview]
Message-ID: <lyzj2vzzl3.fsf@pushface.org> (raw)
In-Reply-To: a91b9034-11d7-4149-8543-35cf4eeaa2b0@googlegroups.com

0x00080000@gmail.com writes:

> As such, I'm still puzzled whether this version of gnat does indeed
> has support for the Cortex-M7 or not. Did anybody on this forum
> already tried this out?

Since it says "unrecognized argument in option '-mcpu=cortex-m7'" I
guess not.

> Side thought:
> both the Cortex-M4 and Cortex-M7 are based on the ARMv7-M ISA.
> As such, specifying -mcpu=cortex-m4 just might work out fine
> Despite this observation, recent versions of gcc do seem to insist on
> using -mcpu=cortex-m7 (?)

GCC 5.1.0 built with --with-arch=armv7 --with-mode=thumb doesn't allow
-mcpu=cortex-m7.

But you could try -march=armv7e-m; accepted on FSF and GNAT GPL, though
since my RTS is presently for cortex-m3 I got

gnat1: warning: switch -mcpu=cortex-m3 conflicts with -march=armv7e-m switch


  parent reply	other threads:[~2015-07-16 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-16 14:22 support for Cortex-M7 in GNAT-GPL? 0x00080000
2015-07-16 16:18 ` Luke A. Guest
2015-07-16 17:19 ` Jerry Petrey
2015-07-16 19:12 ` Simon Wright [this message]
2015-07-17 10:25 ` 0x00080000
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox