This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Errors with GCJ Building on Cygwin
- From: "Will Tabaqui" <tabaquiosi at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 29 Aug 2002 13:46:30 +0000
- Subject: Errors with GCJ Building on Cygwin
- Bcc:
Hello everybody
I'm trying full time to build GCJ....But i have some errors with GCJ
Building on Cygwin.
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) 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,^,,'
2) Copy the mingw runtime bin/lib/include into
/usr/local/gcc-3.1.1/i686-pc-mingw32
3) 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)
4) Using the previously compiled c/c++ gcc 3.1
- make
- make install
At step 4 ) launching "make", I get the following errors :
---------
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
----------
So does someone know these 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