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:
> 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 <[email protected]>:
>> 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.
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.