comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey.
Date: Tue, 04 Apr 2023 14:50:06 +0100	[thread overview]
Message-ID: <ly8rf7hi41.fsf@pushface.org> (raw)
In-Reply-To: 74e76699-a748-4d83-8411-cc1ce5a1f337n@googlegroups.com

Joakim Strandberg <joakim.strandberg@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?

You need to compile those C files with GCC 12.2.0 (or clang).

This is the commit: https://github.com/gcc-mirror/gcc/commit/6725f186cb70d48338f69456864bf469a12ee5be

  reply	other threads:[~2023-04-04 13:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26  8:07 [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey Blady
2023-04-04 10:02 ` Joakim Strandberg
2023-04-04 13:50   ` Simon Wright [this message]
2023-04-04 14:20     ` Joakim Strandberg
replies disabled

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