This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: c/c++ to bytecode
- From: Dalibor Topic <robilad at kaffe dot org>
- To: Stefan Ulbrich <stefan dot ulbrich at stud dot uni-karlsruhe dot de>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 21 Sep 2006 14:24:33 +0200
- Subject: Re: c/c++ to bytecode
- References: <68509ba0b204ba35e5ce6932b283379c@stud.uni-karlsruhe.de>
Stefan Ulbrich wrote:
hello,
though c++ being a superset of java, I wonder if it is possible to
compile c/c++ code to java bytecode. Is this possible?
It is possible. An effort to do that for source code was
http://ovid.tigris.org/Ephedra/ and there is a bunch of links on the
site that lead further.
Another approach is binary translation to bytecode, like
nestedvm.ibex.org does it.
Finally, Trent Waddington wrote a jvm backend for gcc, available at
http://www.itee.uq.edu.au/~cristina/uqbt.html#gcc-jvm
cheers,
dalibor topic