• [ANN] XNAdaLib and GNATStudio 2022 binaries for macOS Monterey.

    From Blady@21:1/5 to All on Sat Nov 26 09:07:51 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joakim Strandberg@21:1/5 to Blady on Tue Apr 4 03:02:51 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Wright@21:1/5 to Joakim Strandberg on Tue Apr 4 14:50:06 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joakim Strandberg@21:1/5 to Simon Wright on Tue Apr 4 07:20:22 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)