clarification needed for ecj and gcj

Discussion in 'Java' started by Yao, Jun 18, 2006.

  1. Yao

    Yao Guest

    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!
     
    Yao, Jun 18, 2006
    #1
    1. Advertising

  2. Yao wrote:
    > 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.

    >>From the result of google search, I am confused by some items, such as

    > "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/
     
    David N. Welton, Jun 19, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. g
    Replies:
    6
    Views:
    331
    S.A. Samokhodkin
    Aug 26, 2003
  2. John
    Replies:
    0
    Views:
    406
  3. =?iso-8859-1?B?bW9vcJk=?=

    GCJ and its Eclipse plugin

    =?iso-8859-1?B?bW9vcJk=?=, Mar 1, 2006, in forum: Java
    Replies:
    3
    Views:
    579
    IchBin
    Mar 1, 2006
  4. Jean-Marc Desperrier

    GCJ and invalid Date syntax

    Jean-Marc Desperrier, Oct 27, 2006, in forum: Java
    Replies:
    0
    Views:
    331
    Jean-Marc Desperrier
    Oct 27, 2006
  5. Matthias Griem
    Replies:
    6
    Views:
    594
Loading...

Share This Page