comp.lang.ada
 help / color / mirror / Atom feed
From: Joakim Strandberg <joakim.strandberg@elk-studios.com>
Subject: Re: [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey.
Date: Tue, 4 Apr 2023 03:02:51 -0700 (PDT)	[thread overview]
Message-ID: <74e76699-a748-4d83-8411-cc1ce5a1f337n@googlegroups.com> (raw)
In-Reply-To: <tlshgn$13vq$1@gioia.aioe.org>

On Saturday, November 26, 2022 at 9:07:54 AM UTC+1, Blady wrote:
> Hello, 
> 
> This is XNAdaLib 2022 built on macOS 12.6 Monterey for Native Quartz 
> with GNAT FSF 12.1 
> (github.com/simonjwright/distributing-gcc/releases/tag/gcc-12.1.0-x86_64) 
> including: 
> 
> - GTKAda 22.2 (www.adacore.com/gtkada ) with GTK+ 3.24.33 (www.gtk.org) 
> complete, 
> - Glade 3.40.0 (glade.gnome.org), 
> - Florist mid-2022a (github.com/Blady-Com/florist), 
> - AdaCurses 6.3 (patch 20221105) 
> (invisible-island.net/ncurses/ncurses-Ada95.html), 
> - Gate3 0.5d (sourceforge.net/projects/lorenz), 
> - Components 4.64 (www.dmitry-kazakov.de/ada/components.htm), 
> - AICWL 3.25 (www.dmitry-kazakov.de/ada/aicwl.htm), 
> - Zanyblue 1.4.0 (zanyblue.sourceforge.net), 
> - PragmARC mid-2022 (pragmada.x10hosting.com/pragmarc.htm), 
> - UXStrings 0.4.0 (github.com/Blady-Com/UXStrings) - NEW 
> - GNOGA 2.2 mid-2022 (www.gnoga.com), 
> - SparForte 2.5 (sparforte.com), 
> - HAC 0.21 (https://hacadacompiler.sourceforge.io) 
> 
> Here is also GNATStudio 23.0wb as a stand alone app for macOS 12. 
> See readme for important details. 
> There could be some limitations that you might meet. Feel free to report 
> them on MacAda list (http://hermes.gwu.edu/archives/gnat-osx.html). Any 
> help will be really appreciated. 
> 
> Both packages have been post on Source Forge: 
> https://sourceforge.net/projects/gnuada/files/GNAT_GPL%20Mac%20OS%20X/2022-monterey 
> 
> Enjoy, Pascal. 
> http://blady.pagesperso-orange.fr

Hi,

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?

Best regards,
Joakim

  reply	other threads:[~2023-04-04 10:02 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 [this message]
2023-04-04 13:50   ` Simon Wright
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