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

David Michel <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Oh no sorry I didn't configure in srcdir... I did it exactly like you
first told me:

$ svn co http://gcc.gnu.org/svn/gcc/branches/gcc-4_4-branch/
$ mkdir gcc-4_4-branch/obj-x86_64-unknown-linux-gnu
$ cd gcc-4_4-branch/obj-x86_64-unknown-linux-gnu
$ `pwd`/../configure --enable-languages=java
--prefix=/local/gcc-4_4-branch/install --enable-java-home
--enable-java-awt=gtk

sorry about the confusion,  I did think it doesn't matter where one
run the configure script so I typed "./configure" instead of
"`pwd`/../configure" (lazyness I guess) .... But I did run it from
gcc-4_4-branch/obj-x86_64-unknown-linux-gnu.

So thanks for pointing that out anyway. I might have done that mistake
in the future.

Looking forward to see what your build will produce !

Cheers
David





2009/4/22 Andrew Haley <[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.