clarification needed for ecj and gcj

Y

Yao

Hi, everyone,
I am a newbie in java development, and I am confused by "ecj" and
"gcj". I searched in google by the keywords "ecj gcj", but I get
little useful information, so I ask help here.

AFAIK, ecj is the short form of Eclipse Compiler for Java, and gcj is
Gnu Compiler for Java. Are both of them are java compilers? What is
the difference between them?
From the result of google search, I am confused by some items, such as
"eclipse-ecj-gcj".

Any comments are appreciated and thanks in advance!
 
D

David N. Welton

Yao said:
Hi, everyone,
I am a newbie in java development, and I am confused by "ecj" and
"gcj". I searched in google by the keywords "ecj gcj", but I get
little useful information, so I ask help here.

AFAIK, ecj is the short form of Eclipse Compiler for Java, and gcj is
Gnu Compiler for Java. Are both of them are java compilers? What is
the difference between them?

ecj compiles to bytecodes, and gcj can compile from either java sources
or bytecodes to native binary code.
"eclipse-ecj-gcj".

I think that's ecj compiled down to native code, so that it potentially
runs faster.

--
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top