comp.lang.ada
 help / color / mirror / Atom feed
* Re: GNAT and Java.
       [not found] <00c501c07a36$2afcb100$849297d4@d1>
@ 2001-01-09 16:53 ` Florian Weimer
  2001-01-10  9:15 ` n_brunot
  1 sibling, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2001-01-09 16:53 UTC (permalink / raw)


"Hans-Olof Danielsson" <Hans-Olof.Danielsson@swipnet.se> writes:

> I�read in the GNU GCC webpage that it is a GCJ ( a Java native compiler
> ). With this tool and GNAT ( not JGNAT ) is it now possible to write Ada
> programs that calls Java methods in a simular way as calls to�C functions�and
> C++ methods? If yes, what is the calling convention?

AFAIK, the GCJ ABI is similar to the C++ ABI.  I don't think you can
get a GNAT version off the net which can interface to this version of
the C++ ABI yet.

> If no, will it be in the near future?

Hmm, you should probably ask this kind of questions on the GCC
development list. ;-)



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

* Re: GNAT and Java.
       [not found] <00c501c07a36$2afcb100$849297d4@d1>
  2001-01-09 16:53 ` GNAT and Java Florian Weimer
@ 2001-01-10  9:15 ` n_brunot
  1 sibling, 0 replies; 2+ messages in thread
From: n_brunot @ 2001-01-10  9:15 UTC (permalink / raw)


In article <00c501c07a36$2afcb100$849297d4@d1>,
  comp.lang.ada@ada.eu.org wrote:
> I read in the GNU GCC webpage that it is a GCJ ( a Java native
compiler =
> ). With this tool and GNAT ( not JGNAT ) is it now possible to write
Ada =
> programs that calls Java methods in a simular way as calls to C =
> functions and C++ methods? If yes, what is the calling convention? If
=
> no, will it be in the near future?

I'm not sure this is what you are looking for but this may help you to
use Java through a C interface
http://java.sun.com/products/jdk/1.2/docs/guide/jni/spec/invocation.doc.
html



Sent via Deja.com
http://www.deja.com/



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

end of thread, other threads:[~2001-01-10  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <00c501c07a36$2afcb100$849297d4@d1>
2001-01-09 16:53 ` GNAT and Java Florian Weimer
2001-01-10  9:15 ` n_brunot

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