delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4ACAC5EA.50609@users.sourceforge.net> |
Date: | Mon, 05 Oct 2009 23:22:02 -0500 |
From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: gcc4-java: ecj1 not working |
References: | <4ACAB9D5 DOT 8070106 AT users DOT sourceforge DOT net> <4ACAC468 DOT 5040907 AT gmail DOT com> <4ACAC38D DOT 5030106 AT users DOT sourceforge DOT net> |
In-Reply-To: | <4ACAC38D.5030106@users.sourceforge.net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 05/10/2009 23:11, Yaakov (Cygwin/X) wrote: > Do you have an 'ecj.jar' in your CLASSPATH? AFAICS gcj will use that > instead of ecj1.exe if available. Actually, not quite. ecj1 is just a wrapper which calls ecj.jar: http://gcc.gnu.org/install/configure.html """ --with-ecj-jar=filename This option can be used to specify the location of an external jar file containing the Eclipse Java compiler. A specially modified version of this compiler is used by gcj to parse .java source files. If this option is given, the `libjava' build will create and install an ecj1 executable which uses this jar file at runtime. If this option is not given, but an ecj.jar file is found in the topmost source tree at configure time, then the `libgcj' build will create and install ecj1, and will also install the discovered ecj.jar into a suitable place in the install tree. If ecj1 is not installed, then the user will have to supply one on his path in order for gcj to properly parse .java source files. A suitable jar is available from ftp://sourceware.org/pub/java/. """ If so, I would recommend to omit the configure flag, append ftp://sourceware.org/pub/java/ecj-4.3.jar to your SRC_URI (cygport will just copy it into ${S}, and add the .jar's install location to gcc4_java_CONTENTS. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |