Joakim Strandberg <
joakim.s...@elk-studios.com> writes:
> I've downloaded and installed the above on a M1 Apple laptop and it
> works great. However, I can't compile .c files to be imported into an
> Ada application:
>
> /opt/gcc-12.1.0/bin/aarch64-apple-darwin21-gcc -c -x c -MMD -MF
> c_linux_api.d
> -specs=/private/var/folders/1h/7qcblcxj6z92hg5sf_t39y140000gn/T/GNAT-TEMP-000004.TMP
> /.../c_linux_api.c
> <built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'
> gprbuild: *** compilation phase failed
>
> I created an account on the MacAda list but was unauthorised to post
> messages, therefore I make an attempt to post here. Is it possible to
> compile C programming language files for import into an Ada
> application on the Mac OS X with the new Apple silicon hardware? Or
> should I just give up?