[Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory
brian at dessent dot net
gcc-bugzilla@gcc.gnu.org
Wed Apr 16 14:50:00 GMT 2008
------- Comment #5 from brian at dessent dot net 2008-04-16 14:50 -------
Subject: Re: gcj: error trying to exec 'ecj1': execvp: No such
file or directory
david dot griffiths at gmail dot com wrote:
> Note that the build directory contains no libjava on completion, not sure if it
> should? (As that's the only place that seems to refer to ecj1). I am just doing
> "./configure" but that should build java by default, right? The config.log
> certainly contains lines like "build_configargs='--cache-file=../config.cache
> '--enable-languages=c,c++,fortran,java,objc'
> --program-transform-name='s,y,y,''".
Oh, this is Cygwin. Ick. gcj support for Cygwin is very iffy. Last
time I tried you had to --enable-libjava to get it to build libjava as
it was disabled by default. And even then it will only build a static
libjava which is not very useful. Also the default SJLJ EH makes
performance nearly intolerable, so you'll probably want to switch to
Dwarf-2 EH. I'm not sure if all the required patches for DW2 EH to
function correctly on MinGW/Cygwin are in the FSF tree or not. (Along
with the other problems with DW2 EH on Win32...)
If you google a little I think you can find hacks for building a MinGW
shared libjava which you might be able to adapt, but I don't know. I
wouldn't expect much.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
More information about the Gcc-bugs
mailing list