This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Errors with Building GCJ 3.1.1 to run with mingw


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
Makefile:3341: target `java/lang/Class.h' given more than once in the

./gnu/java/security/provider/ Class
already defined in ./gnu/java/security/provider/
public final class Gnu extends Provider
./gnu/java/security/provider/ confused by earlier errors,
bailing ou
make[1]: *** [java/lang/Class.class] Error 1
make: *** [all-target-libjava] Error 2

This is the instructions i followed for GCC:

- 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;

3) Copy the mingw runtime bin/lib/include into

4) Copy the w32api libs into /usr/local/gcc-3.1.1/i686-pc-mingw32/lib
(include files is
copied automatically by configure into

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.



Rejoignez MSN Hotmail, le plus important service de messagerie

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]