gcj: error trying to exec 'ecj1': execvp
Andrew Haley
aph@redhat.com
Wed Apr 22 10:58:00 GMT 2009
David Michel wrote:
> just compiled it with
>
> $ /local/gcc-4_4-branch/install/bin/gcj -O0 -g0 "--classpath=./:"
> Tool.java -o Tool.out --main=Tool
>
> and got:
>
> $ ./Tool.out
>
>
> $
> $
>
> so, 2 empty lines....
>
> I would have expected something like gnu.java.awt.peer.gtk.GtkToolkit
> , which is what happens when I use gcj 4.2 already installed
>
> David.
>
> 2009/4/22 Andrew Haley <aph@redhat.com>:
>> David Michel wrote:
>>> But I did put use the options:
>>> $ ./configure --enable-languages=java
>>> --prefix=/local/gcc-4_4-branch/install --enable-java-home
>>> --enable-java-awt=gtk
Oh no, you configured in srcdir, don't ever do that. I'm surprised
it built.
I'm going to build 4.4 with exactly your options (but not configured
in srcdir!) to see if I can duplicate the problem.
Andrew.
More information about the Java
mailing list