Linking C or C++ to gcj compiled .o files
Jules Bean
jmlb2@hermes.cam.ac.uk
Sun May 2 03:52:00 GMT 1999
I've browsed the documentation on the sourceware website, and I can't
quite work this out:
As far as I can tell, CNI is an alternative to JNI. What I want is
something the other way round. I want the main shell of a program to be
written in C/C++, and to link it to some portions written in java.
Is this possible/is there documentation on it?
Aside: The gcj frontend won't (apparently) compile inner classes. Am I
right in thinking that if I compile .java --> .class using a compiler
which does support inner classes (e.g. jikes) then I can compile .class
--> .o using gcj?
Jules
--
/----------------+-------------------------------+---------------------\
| Jelibean aka | jules@jellybean.co.uk | 6 Evelyn Rd |
| Jules aka | | Richmond, Surrey |
| Julian Bean | jmlb2@hermes.cam.ac.uk | TW9 2TF *UK* |
+----------------+-------------------------------+---------------------+
| War doesn't demonstrate who's right... just who's left. |
| When privacy is outlawed... only the outlaws have privacy. |
\----------------------------------------------------------------------/
More information about the Java
mailing list