Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [62.212.116.141] From: "Will Tabaqui" To: cygwin AT cygwin DOT com, gcc-help AT gcc DOT gnu DOT org Subject: Errors with Building GCJ 3.1.1 to run with mingw Date: Mon, 02 Sep 2002 10:29:01 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 02 Sep 2002 10:29:04.0500 (UTC) FILETIME=[8FA92340:01C2526B] Hello I'm trying full time to build GCJ....But i have errors in building GCJ 3.1.1 (cross compiler Building on Cygwin to target mingw). I don't know how to fix them. Someone can help ? This is the error i have when i used the command Make for my building: --------- Makefile:3341: target `java/lang/Object.h' given more than once in the same rule . Makefile:3341: target `java/lang/Class.h' given more than once in the same rule. ./gnu/java/security/provider/gnu.java:42: Class `gnu.java.security.provider.Gnu' already defined in ./gnu/java/security/provider/Gnu.java:42. public final class Gnu extends Provider ^ ./gnu/java/security/provider/gnu.java:45: confused by earlier errors, bailing ou t make[1]: *** [java/lang/Class.class] Error 1 make: *** [all-target-libjava] Error 2 ---------- This is the instructions i followed for GCC: Using; - Windows 2000 SP2 - Cygwin 1.3.10 - gcc 3.1 & 3.1.1 - mingw runtime 2.0-20020430 - w32api 1.4-2 1) Building GCC 3.1. 2) Run configure to setup gcc 3.1.1 build; ../gcc-3.1.1/configure --prefix=/usr/local/gcc-3.1.1 --host=i686-pc-cygwin --target=i686-pc-mingw32 --enable-languages=c,c++,java --disable-nls --with-as=/bin/as.exe --with-ld=/bin/ld.exe --enable-libgcj --enable-gc-type=boehm --disable-shared --enable-threads=win32 --disable-hash-synchronization --disable-interpreter --enable-sjlj-exceptions --with-headers=/usr/local/mingw/w32api/include --program-transform-name='s,^,,' 3) Copy the mingw runtime bin/lib/include into /usr/local/gcc-3.1.1/i686-pc-mingw32 4) Copy the w32api libs into /usr/local/gcc-3.1.1/i686-pc-mingw32/lib (include files is copied automatically by configure into /usr/local/gcc-3.1.1/i686-pc-mingw32/sys-include) 5) Using the previously compiled c/c++ gcc 3.1 - make - make install I succed all the step except the 5) launching "make", I get the errors. So does someone know the errors and how to fix ? Thanks a lot for your help. Regards Tabaqui. _________________________________________________________________ Rejoignez MSN Hotmail, le plus important service de messagerie http://www.hotmail.com/fr -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/