This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ and C++ (calling Java from C++)
- From: Tom Tromey <tromey at redhat dot com>
- To: Lothar Werzinger <lothar at tradescape dot biz>
- Cc: java at gcc dot gnu dot org
- Date: 30 Nov 2005 19:23:27 -0700
- Subject: Re: GCJ and C++ (calling Java from C++)
- References: <200511281612.37450.lothar@tradescape.biz> <200511301558.02459.lothar@tradescape.biz> <438E488E.1020008@redhat.com> <200511301716.43813.lothar@tradescape.biz>
- Reply-to: tromey at redhat dot com
>>>>> "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