public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Errors with Building GCJ 3.1.1 to run with mingw
@ 2002-09-02  3:29 Will Tabaqui
  0 siblings, 0 replies; only message in thread
From: Will Tabaqui @ 2002-09-02  3:29 UTC (permalink / raw)
  To: cygwin, gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-02 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-02  3:29 Errors with Building GCJ 3.1.1 to run with mingw Will Tabaqui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).