comp.lang.ada
 help / color / mirror / Atom feed
* [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey.
@ 2022-11-26  8:07 Blady
  2023-04-04 10:02 ` Joakim Strandberg
  0 siblings, 1 reply; 4+ messages in thread
From: Blady @ 2022-11-26  8:07 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey.
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Joakim Strandberg @ 2023-04-04 10:02 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey.
  2023-04-04 10:02 ` Joakim Strandberg
@ 2023-04-04 13:50   ` Simon Wright
  2023-04-04 14:20     ` Joakim Strandberg
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Wright @ 2023-04-04 13:50 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey.
  2023-04-04 13:50   ` Simon Wright
@ 2023-04-04 14:20     ` Joakim Strandberg
  0 siblings, 0 replies; 4+ messages in thread
From: Joakim Strandberg @ 2023-04-04 14:20 UTC (permalink / raw)


On Tuesday, April 4, 2023 at 3:50:10 PM UTC+2, Simon Wright wrote:
> 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?
> 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

Thanks Simon, that does the trick. I can compile the C file with "clang -c c_linux_api.c" and then use the c_linux_api.o for the linking of the application. Thanks!

Best regards,
Joakim

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-04 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2023-04-04 14:20     ` Joakim Strandberg

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