From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24739 invoked by alias); 16 Apr 2008 14:50:06 -0000 Received: (qmail 24717 invoked by alias); 16 Apr 2008 14:50:05 -0000 Date: Wed, 16 Apr 2008 14:50:00 -0000 Message-ID: <20080416145005.24716.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/35923] gcj: error trying to exec 'ecj1': execvp: No such file or directory In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "brian at dessent dot net" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2008-q2/txt/msg00007.txt.bz2 ------- 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