This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]