ecj branch
Andrew Haley
aph@redhat.com
Tue Dec 5 20:54:00 GMT 2006
paul wisehart writes:
> On Mon, Dec 04, 2006 at 07:11:41PM +0000, Andrew Haley wrote:
> > >
> > > I'm getting that error when I try to build gcc using the
> > > svn://gcc.gnu.org/svn/gcc/branches/gcj/gcj-eclipse-merge-branch
> > > branch.
> > >
> > > I'm doing ./configure --prefix=/home/wise/local_root .
> >
> > FORTRAN probably doesn't work on that branch. Unless you really want
> > FORTRAN, configure with --enable-languages=java. Oh, and don't build
> > in srcdir.
>
> Thanks for your help. My new configure is:
> ./configure --enable-languages=c,java,c++ --prefix=/home/wise/gcj
>
> I don't know what you mean by "don't build in the srcdir".
Don't build in the source directory. meaning don't do "./configure".
Build in some other directory, away from the sources.
> I get a good configure; make; make install.
>
> When I try to use the compile on a hello-world style program
> "test.java": gcj --main=test test.java
>
> I get this error:
> gcj: error trying to exec 'ecj1': execvp: No such file or directory
>
> any ideas?
Tom Tromey will follow-up this message with helpful instructions, I
hope. :-)
Andrew.
More information about the Java
mailing list