VM/Back-end

2007-09-05 Thread Mike
I want GCC to compile c/c++ code into VM instructions.  Looking at GJC 
as a reference, I didn't see a Java machine back-end MD file.  Java 
isn't a back-end in gcc/config.


For a new VM back-end, does it have to be put in gcc/config?  Also, 
would a configure target have to be made for the new VM/machine?


Mike
[EMAIL PROTECTED]


Re: VM/Back-end

2007-09-05 Thread Basile STARYNKEVITCH

Mike wrote:
I want GCC to compile c/c++ code into VM instructions.  Looking at GJC 
as a reference, I didn't see a Java machine back-end MD file.  Java 
isn't a back-end in gcc/config.


AFAIK, gcj can compile JVM code (ie javac-compiled .class bytecode 
files) but don't produce them.


There exist a CIL backend in some branch.


--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basilestarynkevitchnet mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***