simonjwright / distributing-gcc

Binary releases of GCC (native and cross) on macOS; also, the scripts/Makefiles used for producing them.
BSD 3-Clause "New" or "Revised" License
40 stars 0 forks source link

Option to generate C header file appears to not work in these builds #15

Closed rod-chapman closed 10 months ago

rod-chapman commented 11 months ago

I'm trying to use the -gnatceg option to generate a C header file from an Ada package specification.

GNAT UG says this should work, and it does work OK with GNAT Community 2019, GNAT Community 2020 and GNAT Pro 20.1.

With these builds - specifically GCC 12.1.0, 12.2.0 and 13.1.0 for Aarch64/macOS, the -gnatceg option does not appear to work. No .h file is generated.

Any idea what might be causing this?

rod-chapman commented 11 months ago

It also appears to fail using the gnat_native_12.1.2 package installed by Alire.

simonjwright commented 11 months ago

It seems it was never part of the FSF branch of the compiler.