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

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.