comp.lang.ada
 help / color / mirror / Atom feed
From: Blady <p.p11@orange.fr>
Subject: Re: Looking for jvm-gnatmake for Linux x86_64
Date: Mon, 5 Nov 2012 12:11:45 -0800 (PST)
Date: 2012-11-05T12:11:45-08:00	[thread overview]
Message-ID: <24e20e71-6507-47b5-9fbc-9137a5bfe531@googlegroups.com> (raw)
In-Reply-To: <d5fdd35e-6c00-4501-b2c6-ba91f86e8d23@googlegroups.com>

Le samedi 3 novembre 2012 20:58:51 UTC+1, ma...@adrianwrigley.com a écrit :
> On Friday, November 2, 2012 1:50:02 PM UTC, co...@adacore.com wrote:
> > > Where can I obtain the Linux compilers for targeting JVM?
> > > on the libre site. You just need to select the jvm-windows platform instead of the x86-windows one.
> I tried this suggestion.  I got a file gnat-gpl-2012-jvm-windows-bin.exe which runs under Microsoft Windows OS (tm).
> I'm hoping to use (Debian) Linux to compile Ada code to run under the JVM, without using Windows(tm).  Is this possible?  Did I miss something crucial?
> I know that I can install Windows(tm) under VirtualBox. and mess around with complicated scripts to compile my code under with the above tools.  I don't think this would be acceptable for my application though.
> If it isn't possible now, might it appear in a future release?
> Thanks.
> --
> Adrian

One other option is to build GNAT-JVM from source.
It's not so difficult, all is well described in source archive.
I wrote a how to (in French but you can understand easily instructions) for GNAT-JVM 2011 on MacOS, see:
http://blady.pagesperso-orange.fr/creations.html#jgnat
http://blady.pagesperso-orange.fr/telechargements/jgnat/jvm-gnat-osx.pdf (§2 Construction...)

In fact, I fell in an Java error I couldn't recover:
java.lang.ClassNotFoundException: Applet
See http://blady.pagesperso-orange.fr/alpha.html at section JGNAT (old name) and test case:
http://blady.pagesperso-orange.fr/telechargements/jgnat/Essai_Ada.zip

If you try building source, I'm interested in your feedback using JVM.
Best Pascal.




      reply	other threads:[~2012-11-05 20:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01 22:47 Looking for jvm-gnatmake for Linux x86_64 mail
2012-11-02  1:56 ` Shark8
2012-11-02 13:50 ` comar
2012-11-03 19:58   ` mail
2012-11-05 20:11     ` Blady [this message]
replies disabled

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