public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* java on cygwin - it sort of works
@ 2001-04-22  0:39 Billinghurst, David (CRTS)
  2001-04-23 10:34 ` Jeff Sturm
  0 siblings, 1 reply; 4+ messages in thread
From: Billinghurst, David (CRTS) @ 2001-04-22  0:39 UTC (permalink / raw)
  To: 'java@gcc.gnu.org'; +Cc: 'cygwin@cygwin.com'

I have java working, after a fashion, on cygwin using cvs gcc 3.1 (trunk).
My part in the work was to ask a few stupid questions.  There are still a
couple of configuration issues to solve.

Patches are required to
*	boehm-gc/configure.in
*	gcc/java/decl.c
*	gcc/java/jcf-parse.c
*	gcc/java/parse.y
*	libjava/configure.in
*	libjava/gnu/gcj/runtime/natFirstThread.cc
*	libjava/java/lang/Class.h
*	and corresponding generated files

These patches are:
*	http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00932.html
*	http://gcc.gnu.org/ml/java/2001-04/msg00349.html
*	http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01040.html
*	http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00933.html
*	http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01041.html
*	http://gcc.gnu.org/ml/java/2001-04/msg00307.html

There is still a configuration/libtool problem.  libgcj.la gets some
additional cruft in dependency_libs.  At the moment I let the build fail,
then edit libgcj.la like so.

$ diff libgcj.la~ libgcj.la
17c17
< dependency_libs=' -L/usr/local/obj/gcc-m/i686-pc-cygwin/libjava
-L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src
-L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src/.libs
-L/usr/lib/w32api/ -L/usr/local/obj/gcc-m/gcc -L/usr/lib/mingw -lgcc
-lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc   '
---
> dependency_libs=' -L/usr/local/obj/gcc-m/i686-pc-cygwin/libjava
-L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src
-/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src/.libs
-L/usr/local/obj/gcc-m/gcc -lgcc'


Finally, some incomplete testsuite results.  The testsuite was aborted as
the kids wanted the PC.  

Test Run By billingd on Sun Apr 22 03:58:28 2001
Native configuration is i686-pc-cygwin

		=== libjava tests ===

Schedule of variations:
    unix

Running target unix
Running
/usr/local/src/gcc-mainline/libjava/testsuite/libjava.compile/compile.exp
...
PASS: abstr compilation from source
PASS: abstr byte compilation
XFAIL: abstr compilation from bytecode
PASS: abstr -O compilation from source
PASS: abstr byte compilation
XFAIL: abstr -O compilation from bytecode
PASS: ArrayClass compilation from source
PASS: ArrayClass byte compilation
FAIL: ArrayClass compilation from bytecode
PASS: ArrayClass -O compilation from source
PASS: ArrayClass byte compilation
FAIL: ArrayClass -O compilation from bytecode
PASS: assignment compilation from source
PASS: assignment byte compilation
FAIL: assignment compilation from bytecode
PASS: assignment -O compilation from source
PASS: assignment byte compilation
FAIL: assignment -O compilation from bytecode
PASS: assignment_2 compilation from source
PASS: assignment_2 byte compilation
PASS: assignment_2 compilation from bytecode
PASS: assignment_2 -O compilation from source
PASS: assignment_2 byte compilation
PASS: assignment_2 -O compilation from bytecode
PASS: BlankFinal compilation from source
PASS: BlankFinal byte compilation
FAIL: BlankFinal compilation from bytecode
PASS: BlankFinal -O compilation from source
PASS: BlankFinal byte compilation
FAIL: BlankFinal -O compilation from bytecode
PASS: block compilation from source
PASS: block byte compilation
PASS: block -O compilation from source
PASS: block byte compilation
PASS: Case compilation from source
PASS: Case byte compilation
PASS: Case compilation from bytecode
PASS: Case -O compilation from source
PASS: Case byte compilation
PASS: Case -O compilation from bytecode
PASS: comment compilation from source
PASS: comment byte compilation
PASS: comment compilation from bytecode
PASS: comment -O compilation from source
PASS: comment byte compilation
PASS: comment -O compilation from bytecode
PASS: G19990210_1 compilation from source
PASS: G19990210_1 byte compilation
PASS: G19990210_1 compilation from bytecode
PASS: G19990210_1 -O compilation from source
PASS: G19990210_1 byte compilation
PASS: G19990210_1 -O compilation from bytecode
PASS: G19990210_2 compilation from source
PASS: G19990210_2 byte compilation
PASS: G19990210_2 compilation from bytecode
PASS: G19990210_2 -O compilation from source
PASS: G19990210_2 byte compilation
PASS: G19990210_2 -O compilation from bytecode
PASS: G19990210_3 compilation from source
PASS: G19990210_3 byte compilation
PASS: G19990210_3 compilation from bytecode
PASS: G19990210_3 -O compilation from source
PASS: G19990210_3 byte compilation
PASS: G19990210_3 -O compilation from bytecode
PASS: G19990217_01 compilation from source
PASS: G19990217_01 byte compilation
PASS: G19990217_01 compilation from bytecode
PASS: G19990217_01 -O compilation from source
PASS: G19990217_01 byte compilation
PASS: G19990217_01 -O compilation from bytecode
PASS: G19990217_02 compilation from source
PASS: G19990217_02 byte compilation
PASS: G19990217_02 compilation from bytecode
PASS: G19990217_02 -O compilation from source
PASS: G19990217_02 byte compilation
PASS: G19990217_02 -O compilation from bytecode
PASS: G19990225_01 compilation from source
PASS: G19990225_01 byte compilation
PASS: G19990225_01 compilation from bytecode
PASS: G19990225_01 -O compilation from source
PASS: G19990225_01 byte compilation
PASS: G19990225_01 -O compilation from bytecode
PASS: iface compilation from source
PASS: iface byte compilation
PASS: iface compilation from bytecode
PASS: iface -O compilation from source
PASS: iface byte compilation
PASS: iface -O compilation from bytecode
XFAIL: inner_1 compilation from source
UNTESTED: inner_1 execution from source compiled test
UNTESTED: inner_1 output from source compiled test
PASS: inner_1 byte compilation
PASS: inner_1 compilation from bytecode
XFAIL: inner_1 -O compilation from source
UNTESTED: inner_1 -O execution from source compiled test
UNTESTED: inner_1 -O output from source compiled test
PASS: inner_1 byte compilation
PASS: inner_1 -O compilation from bytecode
PASS: inner_data compilation from source
PASS: inner_data byte compilation
PASS: inner_data compilation from bytecode
PASS: inner_data -O compilation from source
PASS: inner_data byte compilation
PASS: inner_data -O compilation from bytecode
PASS: inner_inherit compilation from source
PASS: inner_inherit byte compilation
PASS: inner_inherit compilation from bytecode
PASS: inner_inherit -O compilation from source
PASS: inner_inherit byte compilation
PASS: inner_inherit -O compilation from bytecode
PASS: inner_priv compilation from source
PASS: inner_priv byte compilation
PASS: inner_priv compilation from bytecode
PASS: inner_priv -O compilation from source
PASS: inner_priv byte compilation
PASS: inner_priv -O compilation from bytecode
PASS: inner_pub compilation from source
PASS: inner_pub byte compilation
PASS: inner_pub compilation from bytecode
PASS: inner_pub -O compilation from source
PASS: inner_pub byte compilation
PASS: inner_pub -O compilation from bytecode
PASS: MethodFailure4 compilation from source
PASS: MethodFailure4 byte compilation
PASS: MethodFailure4 -O compilation from source
PASS: MethodFailure4 byte compilation
PASS: N19990310_01 compilation from source
PASS: N19990310_01 byte compilation
PASS: N19990310_01 compilation from bytecode
PASS: N19990310_01 -O compilation from source
PASS: N19990310_01 byte compilation
PASS: N19990310_01 -O compilation from bytecode
PASS: N19990317 compilation from source
PASS: N19990317 byte compilation
PASS: N19990317 compilation from bytecode
PASS: N19990317 -O compilation from source
PASS: N19990317 byte compilation
PASS: N19990317 -O compilation from bytecode
PASS: not_a_redef compilation from source
PASS: not_a_redef byte compilation
PASS: not_a_redef compilation from bytecode
PASS: not_a_redef -O compilation from source
PASS: not_a_redef byte compilation
PASS: not_a_redef -O compilation from bytecode
PASS: OperatorBenchmark compilation from source
PASS: OperatorBenchmark byte compilation
PASS: OperatorBenchmark compilation from bytecode
PASS: OperatorBenchmark -O compilation from source
PASS: OperatorBenchmark byte compilation
PASS: OperatorBenchmark -O compilation from bytecode
PASS: perc compilation from source
PASS: perc byte compilation
PASS: perc compilation from bytecode
PASS: perc -O compilation from source
PASS: perc byte compilation
PASS: perc -O compilation from bytecode
PASS: plusplus compilation from source
PASS: plusplus byte compilation
PASS: plusplus compilation from bytecode
PASS: plusplus -O compilation from source
PASS: plusplus byte compilation
PASS: plusplus -O compilation from bytecode
PASS: PR124 compilation from source
PASS: PR124 byte compilation
PASS: PR124 -O compilation from source
PASS: PR124 byte compilation
PASS: PR127 compilation from source
PASS: PR127 byte compilation
PASS: PR127 -O compilation from source
PASS: PR127 byte compilation
PASS: PR129_B compilation from source
PASS: PR129_B byte compilation
PASS: PR129_B compilation from bytecode
PASS: PR129_B -O compilation from source
PASS: PR129_B byte compilation
PASS: PR129_B -O compilation from bytecode
PASS: PR140 compilation from source
PASS: PR140 byte compilation
PASS: PR140 -O compilation from source
PASS: PR140 byte compilation
PASS: PR163 compilation from source
PASS: PR163 byte compilation
PASS: PR163 -O compilation from source
PASS: PR163 byte compilation
PASS: PR164 compilation from source
PASS: PR164 byte compilation
PASS: PR164 -O compilation from source
PASS: PR164 byte compilation
PASS: pr172 compilation from source
PASS: pr172 byte compilation
PASS: pr172 compilation from bytecode
PASS: pr172 -O compilation from source
PASS: pr172 byte compilation
PASS: pr172 -O compilation from bytecode
PASS: pr174 compilation from source
PASS: pr174 byte compilation
PASS: pr174 compilation from bytecode
PASS: pr174 -O compilation from source
PASS: pr174 byte compilation
PASS: pr174 -O compilation from bytecode
PASS: pr176 compilation from source
PASS: pr176 byte compilation
PASS: pr176 compilation from bytecode
PASS: pr176 -O compilation from source
PASS: pr176 byte compilation
PASS: pr176 -O compilation from bytecode
PASS: PR206 compilation from source
PASS: PR206 byte compilation
PASS: PR206 compilation from bytecode
PASS: PR206 -O compilation from source
PASS: PR206 byte compilation
PASS: PR206 -O compilation from bytecode
PASS: PR207 compilation from source
PASS: PR207 byte compilation
PASS: PR207 compilation from bytecode
PASS: PR207 -O compilation from source
PASS: PR207 byte compilation
PASS: PR207 -O compilation from bytecode
PASS: PR208 compilation from source
PASS: PR208 byte compilation
PASS: PR208 compilation from bytecode
PASS: PR208 -O compilation from source
PASS: PR208 byte compilation
PASS: PR208 -O compilation from bytecode
PASS: PR209 compilation from source
PASS: PR209 byte compilation
PASS: PR209 compilation from bytecode
PASS: PR209 -O compilation from source
PASS: PR209 byte compilation
PASS: PR209 -O compilation from bytecode
PASS: PR224 compilation from source
PASS: PR224 byte compilation
PASS: PR224 -O compilation from source
PASS: PR224 byte compilation
PASS: PR232 compilation from source
PASS: PR232 byte compilation
PASS: PR232 compilation from bytecode
PASS: PR232 -O compilation from source
PASS: PR232 byte compilation
PASS: PR232 -O compilation from bytecode
PASS: PR232B compilation from source
PASS: PR232B byte compilation
PASS: PR232B compilation from bytecode
PASS: PR232B -O compilation from source
PASS: PR232B byte compilation
PASS: PR232B -O compilation from bytecode
PASS: PR234 compilation from source
PASS: PR234 byte compilation
PASS: PR234 compilation from bytecode
PASS: PR234 -O compilation from source
PASS: PR234 byte compilation
PASS: PR234 -O compilation from bytecode
PASS: PR235 compilation from source
PASS: PR235 byte compilation
PASS: PR235 compilation from bytecode
PASS: PR235 -O compilation from source
PASS: PR235 byte compilation
PASS: PR235 -O compilation from bytecode
PASS: PR238 compilation from source
PASS: PR238 byte compilation
PASS: PR238 compilation from bytecode
PASS: PR238 -O compilation from source
PASS: PR238 byte compilation
PASS: PR238 -O compilation from bytecode
PASS: PR295 compilation from source
PASS: PR295 byte compilation
PASS: PR295 compilation from bytecode
PASS: PR295 -O compilation from source
PASS: PR295 byte compilation
PASS: PR295 -O compilation from bytecode
PASS: PR310 compilation from source
PASS: PR310 byte compilation
PASS: PR310 -O compilation from source
PASS: PR310 byte compilation
PASS: PR374 compilation from source
PASS: PR374 byte compilation
PASS: PR374 compilation from bytecode
PASS: PR374 -O compilation from source
PASS: PR374 byte compilation
PASS: PR374 -O compilation from bytecode
PASS: PR375 compilation from source
PASS: PR375 byte compilation
PASS: PR375 compilation from bytecode
PASS: PR375 -O compilation from source
PASS: PR375 byte compilation
PASS: PR375 -O compilation from bytecode
PASS: redef1 compilation from source
PASS: redef1 byte compilation
PASS: redef1 -O compilation from source
PASS: redef1 byte compilation
PASS: redef2 compilation from source
PASS: redef2 byte compilation
PASS: redef2 -O compilation from source
PASS: redef2 byte compilation
PASS: redef3 compilation from source
PASS: redef3 byte compilation
PASS: redef3 -O compilation from source
PASS: redef3 byte compilation
PASS: redef4 compilation from source
PASS: redef4 byte compilation
PASS: redef4 -O compilation from source
PASS: redef4 byte compilation
PASS: redef5 compilation from source
PASS: redef5 byte compilation
PASS: redef5 -O compilation from source
PASS: redef5 byte compilation
PASS: redef6 compilation from source
PASS: redef6 byte compilation
PASS: redef6 -O compilation from source
PASS: redef6 byte compilation
PASS: Semi compilation from source
PASS: Semi byte compilation
PASS: Semi compilation from bytecode
PASS: Semi -O compilation from source
PASS: Semi byte compilation
PASS: Semi -O compilation from bytecode
PASS: Statics compilation from source
PASS: Statics byte compilation
PASS: Statics compilation from bytecode
PASS: Statics -O compilation fro

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: java on cygwin - it sort of works
  2001-04-22  0:39 java on cygwin - it sort of works Billinghurst, David (CRTS)
@ 2001-04-23 10:34 ` Jeff Sturm
  2001-04-23 14:45   ` Robert Collins
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Sturm @ 2001-04-23 10:34 UTC (permalink / raw)
  To: Billinghurst, David (CRTS)
  Cc: 'java@gcc.gnu.org', 'cygwin@cygwin.com'

On Sun, 22 Apr 2001, Billinghurst, David (CRTS) wrote:
> I have java working, after a fashion, on cygwin using cvs gcc 3.1 (trunk).
> My part in the work was to ask a few stupid questions.  There are still a
> couple of configuration issues to solve.

Great!  Did you test the runtime at all?  What configure options did you
need?  Can you use the win32 threads port, or are you relying on cygwin's
pthreads layer?

> There is still a configuration/libtool problem.  libgcj.la gets some
> additional cruft in dependency_libs.  At the moment I let the build fail,
> then edit libgcj.la like so.

hmm... I didn't see anything in there that's obviously wrong.  What was
the failure, exactly?

Jeff



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: java on cygwin - it sort of works
  2001-04-23 10:34 ` Jeff Sturm
@ 2001-04-23 14:45   ` Robert Collins
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Collins @ 2001-04-23 14:45 UTC (permalink / raw)
  To: Jeff Sturm, Billinghurst, David (CRTS); +Cc: java, cygwin

----- Original Message -----
From: "Jeff Sturm" <jsturm@one-point.com>
To: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
Cc: <java@gcc.gnu.org>; <cygwin@cygwin.com>
Sent: Tuesday, April 24, 2001 3:33 AM
Subject: Re: java on cygwin - it sort of works


>
>
> On Sun, 22 Apr 2001, Billinghurst, David (CRTS) wrote:
> > I have java working, after a fashion, on cygwin using cvs gcc 3.1
(trunk).
> > My part in the work was to ask a few stupid questions.  There are
still a
> > couple of configuration issues to solve.
>
> Great!  Did you test the runtime at all?  What configure options did
you
> need?  Can you use the win32 threads port, or are you relying on
cygwin's
> pthreads layer?

We're using cygwin's updated pthread layer. Java will thus need cygwin
1.3.1 or better.

> > There is still a configuration/libtool problem.  libgcj.la gets some
> > additional cruft in dependency_libs.  At the moment I let the build
fail,
> > then edit libgcj.la like so.
>
> hmm... I didn't see anything in there that's obviously wrong.  What
was
> the failure, exactly?

mingw was inlcuded as a library IIRC.

Rob

> Jeff
>
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: java on cygwin - it sort of works
@ 2001-04-22 17:34 Robert Collins
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Collins @ 2001-04-22 17:34 UTC (permalink / raw)
  To: Billinghurst, David (CRTS), java; +Cc: cygwin

I think you've got a typo below...

> -----Original Message-----
> From: Billinghurst, David (CRTS)
> [ mailto:David.Billinghurst@riotinto.com ]
> Sent: Sunday, April 22, 2001 5:33 PM
> To: 'java@gcc.gnu.org'
> Cc: 'cygwin@cygwin.com'
> Subject: java on cygwin - it sort of works
> 
> 
> 
> $ diff libgcj.la~ libgcj.la
> 17c17
> < dependency_libs=' -L/usr/local/obj/gcc-m/i686-pc-cygwin/libjava
> -L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src
> -L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src/.libs
> -L/usr/lib/w32api/ -L/usr/local/obj/gcc-m/gcc -L/usr/lib/mingw -lgcc
> -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc   '
> ---
> > dependency_libs=' -L/usr/local/obj/gcc-m/i686-pc-cygwin/libjava
> -L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src
> -/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src/.libs
> -L/usr/local/obj/gcc-m/gcc -lgcc'
> 

Should that be

> dependency_libs=' -L/usr/local/obj/gcc-m/i686-pc-cygwin/libjava
-L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src
-L/usr/local/obj/gcc-m/i686-pc-cygwin/libstdc++-v3/src/.libs
-^-----------------------------------------------------------
-L/usr/local/obj/gcc-m/gcc -lgcc'

Rob

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-04-23 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-22  0:39 java on cygwin - it sort of works Billinghurst, David (CRTS)
2001-04-23 10:34 ` Jeff Sturm
2001-04-23 14:45   ` Robert Collins
2001-04-22 17:34 Robert Collins

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).