Download Latest Version xnadalib-ce-2021-quartz-x86_64-apple-darwin20.5.0-bin.tgz (160.6 MB)
Email in envelope

Get an email when there's a new version of The GNU Ada compiler

Home / GNAT_GPL Mac OS X / 2013-el-capitan
Name Modified Size InfoDownloads / Week
Parent folder
README-macos.txt 2018-03-07 1.5 kB
gnat-vm-gpl-2013-x86_64-apple-darwin15.6.0-bin.tgz 2018-03-04 27.3 MB
Totals: 2 Items   27.3 MB 0
1) GNAT-JVM GPL 2013 built on macOS 10.11 El Capitan:

to be install at /usr/local/gnat (not mandatory):
(You don't need installing GNAT GPL before but it is recommended to get GPS for instance.)

$ mkdir -p /usr/local/gnat
$ cd /usr/local/gnat
$ sudo tar xzf gnat-vm-gpl-2013-x86_64-apple-darwin15.6.0-bin.tgz

GNAT for JVM tools are then located in /usr/local/gnat/bin:
jarmake, javastub, jvm-gcc, jvm-gnat, jvm-gnatbind, jvm-gnatchop, jvm-gnatclean,
jvm-gnatcompile, jvm-gnatfind, jvm-gnatkr, jvm-gnatlink, jvm-gnatls, jvm-gnatmake,
jvm-gnatname, jvm-gnatprep, jvm-gnatxref, jvm2ada, jvmlist, jvmstrip.
Update your PATH to include these executables in it:
$ PATH=/usr/local/gnat/bin:$PATH

Java Runtime Environment is based on Ivan Levashev's Ada translation from Hello_CheerpJGNAT (https://gitlab.ow2.org/octagram/Hello_CheerpJGNAT).
Many thanks to him for its kind agreement.
Update your GPR_PROJECT_PATH to include java_api.gpr:
$ export GPR_PROJECT_PATH=/usr/local/gnat/share/gpr:$GPR_PROJECT_PATH

You'll find documentation and an example in /usr/local/gnat/share.
More examples on: https://github.com/Blady-Com/jvm-gnat-examples.

See the instructions which have produced the JVM-GNAT tools on Blady web site:
http://blady.pagesperso-orange.fr/telechargements/jgnat/jvm-gnat-osx_wf.pdf


Report all comments to MacAda.org mailing list:
http://macada.org/macada/Contacts.html
See list archive:
https://hermes.gwu.edu/archives/gnat-osx.html


20180303 : Initial JVM-GNAT release
Source: README-macos.txt, updated 2018-03-07