java@gcc.gnu.org
[Top] [All Lists]

Re: gcj: error trying to exec 'ecj1': execvp

Subject: Re: gcj: error trying to exec 'ecj1': execvp
From: Andrew Haley
Date: Mon, 20 Apr 2009 14:39:01 +0100
David Michel wrote:
> Hi Andrew,
> 
> Thanks a lot for this link!
> 
> Do I have to rename the ecj-4.3.jar to ecj.jar to be recognised ?

ecj1 is a script that looks like this:

#!/bin/sh
gij -cp <somepath>/ecj.jar \
    org.eclipse.jdt.internal.compiler.batch.GCCMain \
    ${1+"$@"}

> what do you mean exactly by "topmost source tree" ? Is
> ~/gcc-4_4-branch (i.e. the main folder created by the the svn checkout
> command) OK ?

Yes.

> How can I make sure that the ./configure script has "found" it ?

Go into the top of the gcc source tree and type
./contrib/download_ecj

Andrew.

<Prev in Thread] Current Thread [Next in Thread>