GCJ and C++ (calling Java from C++)
Tom Tromey
tromey@redhat.com
Thu Dec 1 02:29:00 GMT 2005
>>>>> "Lothar" == Lothar Werzinger <lothar@tradescape.biz> writes:
Lothar> I wonder if we couldn't write a Java program that uses Java
Lothar> reflection to generate the (correct) C++ headers. I guess it
Lothar> would probably much easier to do that in Java than in C and we
Lothar> could use gcj to generate the gcjh executable from the Java
Lothar> code.
Yeah, it could be done but it is somewhat hard to do that during
libgcj bootstrap.
FWIW gcjx already properly implements this.
Tom
More information about the Java
mailing list