Java to C through an intermediate assembly

Jeff Sturm jsturm@one-point.com
Tue Nov 20 06:00:00 GMT 2001


On 2001年11月20日, Hamdy Mobarak wrote:
> I am asking about if it is possible to convert java program to an
> intermediate assembly (say assembly of Intel microprocessor),

Sure... use the gcj -S switch to save assembler input.
> and then decompile this intermediate assembly to get the C version of
> the input java program?

No. For one thing there is no effective way to decompile into C code.
For another, it is a misconception that there exists any "C version of the
input java program". C and Java are different languages. It isn't easy
to translate one to the other, and the result isn't very readable if you
succeed.
What is it that you are trying to do?
Jeff


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /