GCJ and C++ (calling Java from C++)
Lothar Werzinger
lothar@tradescape.biz
Thu Dec 1 02:45:00 GMT 2005
On Wednesday 30 November 2005 18:23, Tom Tromey wrote:
> >>>>> "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
Looking at "http://gcc.gnu.org/wiki/GCJX status" it seems gcjx is not ready to
replace gcj.
But as I just need the correctly generated C++ header files I wonder if I
could just "borrow" the gcjxh and continue to work :-) That would be great.
Do you by any chance have any Linux x86 binaries available for download? I
really don't want to compile from CVS. (I did compile gcc once and it was a
major undertaking :-) )
Lothar
--
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc.
111 West St. John Street, Suite 200
San Jose, Ca 95113
email: lothar@tradescape.biz
More information about the Java
mailing list