Ada

John Howard echosoft.llc at gmail.com
Mon Jun 24 21:03:02 UTC 2024


>  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 <sebastian.huber at embedded-brains.de> 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


More information about the devel mailing list