Re: Ada

2024-06-24 Thread Sebastian Huber

Hello John,

I have some issues on arm and Ada with current versions of GCC, see also:

https://gcc.gnu.org/pipermail/gcc/2024-June/244197.html

--
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Ada

2024-06-24 Thread John Howard
Thanks.

I will do that.

-- John
(Sorry for all my top-posting. I try to use an iPhone. ‘nuff said.)

On Jun 23, 2024, at 8:01 PM, Joel Sherrill  wrote:

> On Sun, Jun 23, 2024, 12:43 PM John Howard  wrote:
> 
> Johns recently identified and fixed that problem.)


Building gnat is a bit tricky. You need to use a native compiler that is the 
same version as what you are building cross. Sometimes it can be close but the 
same is more reliable.___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Ada

2024-06-24 Thread John Howard
>  gcc -v

You might try forcing arm mode without supporting thumb modes.

If I remember right, official Arm document obsoleted Thumb1, which would 
explain the “sorry” message.

gcc.pdf (.html) helps.

Also, there is a separate mailing list for the GCC linker problems. Experts 
might better assist there.

Also, GNAT repo maintainers or AdaCore could help.

GNAT Ada works on RPi. Configuration info from there might help you.

My Raspberry Pi Debian (Bullseye) on AMD64 has GCC 10.2.1 from 20210110.

RPi repos generally don’t update to recent
or development versions of GCC. Older RPi repos are removed to force users to 
upgrade.

Official Debian repos do not support the ArmV6 found in original Raspberry Pi 
or Zero (arm1176JZF-S). But Raspbian Debian does for bare metal gcc with 
noneabi packages (I use Synaptic packager to locate the installed files of 
interest).

For example, my obsoleted Raspbian repo version on RPi 3B+,
/usr/share/doc/gcc-6-doc/gcc.pdf
reveals 
-mcpu=arm1176jzf-s
is sufficient.

and /usr/share/doc/gcc-arm-none-eabi/readme.txt.gz

reveals
Cortex-A* (Hard FP) command line options:
[-mthumb] -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16

or for multilib:
armv7-ar
/thumb
/fpu

- - John

On Jun 24, 2024, at 9:08 AM, Sebastian Huber 
 wrote:

Hello John,

I have some issues on arm and Ada with current versions of GCC, see also:

https://gcc.gnu.org/pipermail/gcc/2024-June/244197.html
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel