Re: How to utilize kaffe win32 thread design?

2000-04-18 Thread Alexandre Oliva


On Apr 19, 2000, Jim King <[EMAIL PROTECTED]> wrote:

> Do anyone know the reasons and how to utilities this Win32 system?

I think you'd have to build with a native (non-cygwin/mingwin) Win32
compiler.  But the `configure/make/make install' build doesn't support
that.  IIRC, the makefiles or equivalent for building with a native
compiler are available somewhere.

-- 
Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat companyaoliva@{redhat, cygnus}.com
Free Software Developer and EvangelistCS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me




Re: FW: Kaffe 1.0.5 build failure - NetBSD 1.4.2 (mips,pmax)

2000-04-18 Thread Alexandre Oliva


On Apr 19, 2000, Godmar Back <[EMAIL PROTECTED]> wrote:

>> 
>> Based on the attached email from Alexandre Olivia on the Kaffe mailing list,
>> I applied the following changes to the top level (/pkgsrc/lang/kaffe)
>> Makefile:

> Always keep in mind that changes to the Makefiles don't survive a new
> configure since configure rebuilds Makefiles from Makefile.ins.

I believe that file is outside the build tree.  Must be something like
FreeBSD's Ports collection.

-- 
Alexandre OlivaEnjoy GuaranĂ¡, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat companyaoliva@{redhat, cygnus}.com
Free Software Developer and EvangelistCS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me




Re: FW: Kaffe 1.0.5 build failure - NetBSD 1.4.2 (mips,pmax)

2000-04-18 Thread Godmar Back


> 
> Based on the attached email from Alexandre Olivia on the Kaffe mailing list,
> I applied the following changes to the top level (/pkgsrc/lang/kaffe)
> Makefile:

Always keep in mind that changes to the Makefiles don't survive a new
configure since configure rebuilds Makefiles from Makefile.ins.

> jthread.c: In function `jthread_create':
> jthread.c:1256: `SP_OFFSET' undeclared (first use in this function)
> jthread.c:1256: (Each undeclared identifier is reported only once
> jthread.c:1256: for each function it appears in.)

This means nobody has determined the correct SP_OFFSET for your machine,
which says at what offset the sp is stored in the jmpbuf.
Try to compile and run my sp_offset.c program in developers/ and
see what it outputs, and then add a #define in the corresponding thread.h
or md.h file.

Which reminds me... did you even run configure?

- Godmar




How to utilize kaffe win32 thread design?

2000-04-18 Thread Jim King


Hello everyone,

Kaffe 1.0.5 employs several thread systems according to different
platforms. Among them, there is one called Win32. Though I used cygwin
on NT and kaffe still doesn't work correctly, it seems that the win32
thread system is not adopted. Do anyone know the reasons and how to
utilities this Win32 system?


In Kaffe Config directory, cygwin32 and win32 are different
categories. So, which tool platform should I use to configure and make
Kaffe 1.0.5 as a win32 version?

Best regards,
Jim King mailto:[EMAIL PROTECTED]





FW: Kaffe 1.0.5 build failure - NetBSD 1.4.2 (mips,pmax)

2000-04-18 Thread Robert D. Mohr


Based on the attached email from Alexandre Olivia on the Kaffe mailing list,
I applied the following changes to the top level (/pkgsrc/lang/kaffe)
Makefile:

diff -c Makefile.old Makefile
*** Makefile.oldTue Apr 18 20:41:14 2000
--- MakefileTue Apr 18 20:31:56 2000
***
*** 19,24 
--- 19,25 
  HAS_CONFIGURE=yes
  CONFIGURE_ARGS=   --prefix=${PREFIX}/kaffe
  CONFIGURE_ARGS+=  --with-rtlibraries="${LOCALBASE}/lib ${X11BASE}/lib"
+ CONFIGURE_ARGS+=  --with-engine=intrp
  CONFIGURE_ENV+=   CPPFLAGS="${CPPFLAGS}"

  CPPFLAGS+=-Dunix -I${LOCALBASE}/include -I${X11BASE}/include

Kaffe is now failing to build in the unix-jthreads section.  Make log file
excerpt is attached.  Just a WAG...  could this be related to the failure of
Spruce to compile on pmax?  That package is also having problems because of
threading issues.

Rob



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 17, 2000 12:26 AM
To: Robert D. Mohr
Cc: [EMAIL PROTECTED]
Subject: Re: Kaffe 1.0.5 build failure - NetBSD 1.4.2 (mips,pmax)


On Apr 14, 2000, "Robert D. Mohr" <[EMAIL PROTECTED]> wrote:

> I gather from past posts to this list that the JIT is not currently
> supported on the mips platform.

I think that's correct.  At least, not on all mips platforms.  Run
configure --with-engine=intrp and it should work.




make log file excerpt attached below:

Making all in unix-jthreads
source='jthread.c' object='jthread.lo'  depfile='.deps/jthread.Plo'
tmpdepfile='
.deps/jthread.TPlo'  depmode=gcc /bin/sh ../../../../depcomp  /bin/sh
../../../.
./libtool --mode=compile
cc -DINTERPRETER -DKVER=\"1.0.5\" -I. -I. -I../.. -I./.
./..  -I../../../../config -I../../../../config  -I../../../../include -I../
../.
./../include  -DKVER='"1.0.5"' -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./k
affe
/kaffevm -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/u
nix-
jthreads -I../../../../config -I../../../../include  -Dunix -I/usr/pkg/inclu
de -
I/usr/X11R6/include -I/usr/local/include  -O2 -Wall -Wstrict-prototypes -c -
o jt
hread.lo jthread.c
cc -DINTERPRETER -DKVER=\"1.0.5\" -I. -I. -I../.. -I./../.. -I../../../../co
nfig
 -I../../../../config -I../../../../include -I../../../../include -DKVER=\"1
.0.5
\" -I/usr/pkgsrc/lang/kaffe/work/kaffe-1.0.5/./kaffe/kaffevm -I/usr/pkgsrc/l
ang/
kaffe/work/kaffe-1.0.5/./kaffe/kaffevm/systems/unix-jthreads -I../../../../c
onfi
g -I../../../../include -Dunix -I/usr/pkg/include -I/usr/X11R6/include -I/us
r/lo
cal/include -O2 -Wall -Wstrict-prototypes -c
jthread.c  -fPIC -DPIC -Wp,-MD,.dep
s/jthread.TPlo -o jthread.lo
jthread.c: In function `jthread_create':
jthread.c:1256: `SP_OFFSET' undeclared (first use in this function)
jthread.c:1256: (Each undeclared identifier is reported only once
jthread.c:1256: for each function it appears in.)
jthread.c: In function `reschedule':
jthread.c:1514: `SP_OFFSET' undeclared (first use in this function)
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.




Re: Urgent! Problem in running kaffe 1.0.5 on Cygwin!

2000-04-18 Thread Mo DeJong


You might want to try the new "net release" of cygwin. It was
just announced yesterday. Just grab the "net installer"
from ftp://sourceware.cygnus.com/pub/cygwin/latest/setup.exe
and run it to install right over the network. Use a root
like C:\Cygwin for best results. The new net release is
a lot better than the B.20 release.

Mo Dejong
Red Hat Inc.

On Wed, 19 Apr 2000, Jim King wrote:

> 
> Hello,
> 
> I am a Win32 JVM developer. Though I succeeded in building and running
> Kaffe 1.0b3 on Cygwin one year ago, I failed to running Kaffe 1.0.5.
> After making install and setting environment parameters, Kaffe.exe
> shows no output with any JAVA samples. I have also tried to use "make
> check" command, and almost all the tests were failed.
> 
> If anyone who has managed to run kaffe 1.0.5 on cygwin or who knows
> the problem, please help me!
> 
> My system platform is Cygwin32 b20 on Windows NT 4 and Windows 2000
> Pro.
> 
> BTW:
> 
> Have any one tried mingw32? Does Kaffe works on it?
> 
> Best regards,
> Jim King mailto:[EMAIL PROTECTED]
> 
> 
> 




Urgent! Problem in running kaffe 1.0.5 on Cygwin!

2000-04-18 Thread Jim King


Hello,

I am a Win32 JVM developer. Though I succeeded in building and running
Kaffe 1.0b3 on Cygwin one year ago, I failed to running Kaffe 1.0.5.
After making install and setting environment parameters, Kaffe.exe
shows no output with any JAVA samples. I have also tried to use "make
check" command, and almost all the tests were failed.

If anyone who has managed to run kaffe 1.0.5 on cygwin or who knows
the problem, please help me!

My system platform is Cygwin32 b20 on Windows NT 4 and Windows 2000
Pro.

BTW:

Have any one tried mingw32? Does Kaffe works on it?

Best regards,
Jim King mailto:[EMAIL PROTECTED]





Re: It is said that Swing 1.1.1fcs works?

2000-04-18 Thread Archie Cobbs


Ganesh Sivaraman writes:
> Can anyone tell me what is fcs? It took some time to get this version of
> Swing but then my curiousity was to get what fcs means...:).

FCS = "final customer ship" i.e., the "final" version, not a pre-release.

-Archie

___
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



What is FGL?

2000-04-18 Thread Ganesh Sivaraman


Hi,

Does anyone know FGL which is supported by Kaffe? Ofcourse it some kind of
graphics library but then what is it. Have surfed for it but just got one
info saying that it is Fundamentdal Graphics library for graph purpose. DO
anyone know more than this or other than this...

Ganesh




JMF and Kaffe..

2000-04-18 Thread Ganesh Sivaraman


Hi again,

Has anyone tried JMF with kaffe?
Does it work just out of the box or what all needs to be done.

Rgds,

Ganesh




It is said that Swing 1.1.1fcs works?

2000-04-18 Thread Ganesh Sivaraman


Hello,

Can anyone tell me what is fcs? It took some time to get this version of
Swing but then my curiousity was to get what fcs means...:).

Ganesh.