This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ accessing GCJ


We've been diving into GCJ for about a week. We would like to do the majority of a project in Java but allow others to have hooks into it with C++ and TCL.

I have two questions.

1. When accessing a Java class from C++, why is there Jv* setup and tear-down? Seems like when you have that Java class in a .so... it would be indistguishable from an .so generated from C/C++.

2. I'm very new to TCL, but I've found it's ability to script C/C++ functions/classes is pretty transparent. TCL seems to be able to get ahold of C/C++ data structures quite easily. We have basically proven that TCL can access a small C++ wrapper that accesses a Java .so. Is there anyone out there doing this? Is there any slickness we can use to see a Java/GCJ object from TCL?

Any help is appreciated.

Thanks,
Scott Serr


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]