This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: linux-gnu to mingw32 cross
- From: Tom Tromey <tromey at redhat dot com>
- To: <martin_aliger at email dot cz>
- Cc: <java at gcc dot gnu dot org>
- Date: 25 Nov 2002 14:33:39 -0700
- Subject: Re: linux-gnu to mingw32 cross
- References: <3DDF64AA.000001.18285@email1.atc.cz>
- Reply-to: tromey at redhat dot com
>>>>> "Martin" == Martin Aliger <martin_aliger@email.cz> writes:
Martin> and I must delete boehm-gc directory and hand-edit
Martin> libjava/Makefile to skip java.awt.*, javax.* and some xlib
Martin> stuff
Why do you need to skip these?
The java.awt.* and javax.* files should be ok.
The xlib files shouldn't be built by default.
Martin> include/java-threads.h: In function `int _Jv_CondWait(_Jv_ConditionVariable_t*,
Martin> _Jv_Mutex_t*, __java_long, __java_int)':
Martin> include/java-threads.h:53: `sleep' undeclared (first use this function)
Martin> include/java-threads.h:53: (Each undeclared identifier is reported only once
Martin> for each function it appears in.)
That looks like a bug of some kind.
Martin> In file included from /home/alik/java/crossgcc-src/libjava/prims.cc:46:
Martin> java/lang/Thread.h: At global scope:
Martin> java/lang/Thread.h:80: declaration does not declare anything
Martin> java/lang/Thread.h:80: storage class specified for typename
Martin> java/lang/Thread.h:80: parse error before numeric constant
Martin> java/lang/Thread.h:81: declaration does not declare anything
Martin> java/lang/Thread.h:81: storage class specified for typename
Martin> java/lang/Thread.h:81: parse error before numeric constant
This shouldn't happen.
Could you clip and send this part of Thread.h?
Martin> As well disabling GC is not good idea, is it? But boehm-gc
Martin> build fails as well (in misc.c something about GC_*_ml
Martin> undeclared function - sorry for inaccuracy)
We'll need more details.
Tom