mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
Update kaffe to 5.5 level, fix some complaints.
Submitted by: Mark Huizer <xaa@stack.urc.tue.nl> Thanks, Mark.
This commit is contained in:
parent
1760aa0a0c
commit
cbc2f26c0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3962
5 changed files with 28 additions and 115 deletions
|
@ -3,13 +3,14 @@
|
|||
# Date created: 18 September 1996
|
||||
# Whom: Mark Huizer <xaa@stack.urc.tue.nl>
|
||||
#
|
||||
# $Id: Makefile,v 1.7 1996/08/08 19:43:44 chuckr Exp $
|
||||
# $Id: Makefile,v 1.9 1996/09/23 23:44:25 chuckr Exp $
|
||||
#
|
||||
|
||||
DISTNAME= kaffe-0.5p4
|
||||
PKGNAME= kaffe-0.5.4
|
||||
DISTNAME= kaffe-0.5.5
|
||||
PKGNAME= kaffe-0.5.5
|
||||
CATEGORIES+= www
|
||||
MASTER_SITES= ftp://ftp.sarc.city.ac.uk/pub/kaffe/
|
||||
MASTER_SITES+= ftp://alterego.stack.urc.tue.nl/pub/kaffe/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= xaa@stack.urc.tue.nl
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (kaffe-0.5p4.tgz) = c8989738af35741bbc93057c01c8d9df
|
||||
MD5 (kaffe-0.5.5.tgz) = fed96ef9aa7169b527ed2caeec0bcc5d
|
||||
|
|
|
@ -1 +1 @@
|
|||
A virtual machine capable of running Java(tm) code
|
||||
A virtual machine capable of running Java(tm) code (except awt.*)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
KAFFE v0.5p4 - A JIT and interpreting virtual machine to run Java(tm)* code
|
||||
KAFFE v0.5.5 - A JIT and interpreting virtual machine to run Java(tm)* code
|
||||
===========================================================================
|
||||
|
||||
This is Kaffe, a virtual machine design to execute Java bytecode.
|
||||
|
@ -9,44 +9,21 @@ the host machine's native code. This will ultimately allow execution of
|
|||
Java code at the same speed as standard compiled code but while maintaining
|
||||
the advantages and flexibility of code independence.
|
||||
|
||||
What's new
|
||||
==========
|
||||
Running Kaffe
|
||||
=============
|
||||
|
||||
* Added port for m68k Amiga DOS.
|
||||
This version of Kaffe is not supplied with a copy of Sun's class library.
|
||||
This can be obtained from Sun's JDK package (from http://www.javasoft.com) or
|
||||
pre-prepaired in kaffe-0.5.5-sun.tgz (from the usual Kaffe ftp sites).
|
||||
This version of Kaffe uses the class library from JDK 1.0.2.
|
||||
|
||||
* Improved (hopefully) Windows'95 port.
|
||||
Before running Kaffe it is necessary to configure the environment.
|
||||
This requires the setting of CLASSPATH, KAFFEHOME and LD_LIBRARY_PATH.
|
||||
For the standard installation these would be defined as follows:
|
||||
|
||||
* Lots of bug fixes (see ChangeLog).
|
||||
|
||||
What can run Kaffe
|
||||
==================
|
||||
|
||||
This version of Kaffe will run on the following platforms:
|
||||
|
||||
i386 FreeBSD 2.x (interp + jit)
|
||||
" Linux 1.2.13 & 2.0.x (interp + jit)
|
||||
" NetBSD 1.x (interp + jit)
|
||||
" Solaris 2.x (interp + jit)
|
||||
" BSDI 2.x (interp + jit)
|
||||
" Unixware (interp + jit)
|
||||
" SCO 3.2v5 (interp + jit)
|
||||
" NeXTStep 3 (interp + jit)
|
||||
" Windows '95 (interp)
|
||||
Sparc SunOS 4.x (interp)
|
||||
" Solaris 2.x (interp)
|
||||
" NetBSD 1.x (interp)
|
||||
" NeXTStep 3 (interp)
|
||||
PowerPC MkLinux (interp)
|
||||
M68k Amiga DOS (interp)
|
||||
|
||||
Although the system is relatively portable, some machine and processor
|
||||
specific code is necessary. If operating in an interpreting mode, it
|
||||
is only necessary to supply thread switching code. This allows relatively
|
||||
simple ports of Kaffe to be made to new platforms.
|
||||
If operating in JIT mode, significant machine dependent code is required in
|
||||
order to provide the internal native code generator. Ports to new
|
||||
architecture are obviously more complex although the code generator is itself
|
||||
reasonably portable.
|
||||
CLASSPATH=.:/usr/local/share/java/classes.zip
|
||||
KAFFEHOME=/usr/local/share/kaffe
|
||||
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
|
||||
|
||||
Who can use Kaffe
|
||||
=================
|
||||
|
@ -60,7 +37,7 @@ Kaffe Web and FTP sites
|
|||
|
||||
Kaffe is available from various sites. The primary site is:
|
||||
|
||||
ftp://ftp.sarc.city.ac.uk/pub/kaffe/kaffe-0.5p4.tgz
|
||||
ftp://ftp.sarc.city.ac.uk/pub/kaffe/
|
||||
|
||||
Kaffe mailing lists
|
||||
===================
|
||||
|
@ -68,13 +45,13 @@ Kaffe mailing lists
|
|||
A couple of mailing lists are available for information and discussion of
|
||||
the Kaffe project. There lists are:
|
||||
|
||||
kaffe@sarc.city.ac.uk General Kaffe discussions
|
||||
kaffe-announce@sarc.city.ac.uk Kaffe related announcements
|
||||
kaffe@sarc.city.ac.uk - General discussions
|
||||
kaffe-announce@sarc.city.ac.uk - Announcements
|
||||
|
||||
To subscribe to these lists send a message containing the word "subscribe"
|
||||
to either:
|
||||
|
||||
kaffe-request@sarc.city.ac.uk or
|
||||
kaffe-request@sarc.city.ac.uk
|
||||
kaffe-announce-request@sarc.city.ac.uk
|
||||
|
||||
depending what you are interested in.
|
||||
|
@ -83,71 +60,6 @@ You can also check out the Kaffe related web pages at:
|
|||
|
||||
http://www.sarc.city.ac.uk/~tim/kaffe
|
||||
|
||||
Compiling Kaffe for UNIX
|
||||
========================
|
||||
|
||||
The machine comes complete with the interpreter, stub generator, and
|
||||
supporting native libraries. Compilation is controlled using the
|
||||
GNU autoconf program. To generate the necessary makefiles
|
||||
type "./configure" in this directory. This will identify your system
|
||||
and configure the software appropriately. If JIT mode is supported on your
|
||||
system it will be selected automatically, otherwise it defaults to
|
||||
interpreting mode. Compilation should then be a simple matter of
|
||||
typing "make" in this directory, but note that you must use a version
|
||||
of "make" which supports VPATH. If your version does not (Sun's version
|
||||
doesn't) I suggest you use GNU make.
|
||||
|
||||
By default, the system will install into the /usr/local hierarchy as per
|
||||
the standard GNU coding rules. This can be changed using the --prefix
|
||||
option to configure. To install the binaries type "make install".
|
||||
|
||||
Compiling Kaffe for Windows '95
|
||||
===============================
|
||||
|
||||
An initial Windows '95 port is now included with Kaffe. This currently
|
||||
works with Borland C++ v5.0 compiler. The port is preconfigured to install
|
||||
into C:\KAFFE.
|
||||
|
||||
To compile change directory to kaffe-0.5p4/win32 and type "make". To install
|
||||
type "make install".
|
||||
|
||||
Running Kaffe
|
||||
=============
|
||||
|
||||
This version of Kaffe is not supplied with a copy of Sun's class library.
|
||||
This can be obtained from Sun's JDK package (from http://www.javasoft.com) or
|
||||
pre-prepaired in kaffe-0.5p4-sun.tgz (from the usual Kaffe ftp sites).
|
||||
This version of Kaffe uses the class library from JDK 1.0.2.
|
||||
|
||||
Before running Kaffe it is necessary to configure the environment.
|
||||
This requires the setting of CLASSPATH, KAFFEHOME and LD_LIBRARY_PATH.
|
||||
For the standard installation these would be defined as follows:
|
||||
|
||||
CLASSPATH=.:/usr/local/share/kaffe/classes.zip
|
||||
KAFFEHOME=/usr/local/share/kaffe
|
||||
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
|
||||
|
||||
A file "ENVIRONMENT" is generated by the configure program which contains
|
||||
a /bin/sh environment setup. This may help you to figure out what to
|
||||
set to what if you alter the standard installation point.
|
||||
|
||||
The source comes with a test program "HelloWorldApp" which can be found
|
||||
in the test directory in the distribution. After installation, run this
|
||||
program from the test directory by typing the following:
|
||||
|
||||
cd <java source directory>/test
|
||||
kaffe HelloWorldApp
|
||||
|
||||
This should load and execute the HelloWorld application. If all is well
|
||||
it will print "Hello World!". As a further test you might like to try
|
||||
compiling the HelloWorldApp source. To do this type the following:
|
||||
|
||||
javac HelloWorldApp.java
|
||||
|
||||
"javac" is a shell script which has been provided to invoke Kaffe on
|
||||
the standard Java compiler. If all is well, the application should compile
|
||||
without incident.
|
||||
|
||||
The state of play
|
||||
=================
|
||||
|
||||
|
@ -192,6 +104,6 @@ the terms under which this can be claimed are unknown.
|
|||
Erm, that's it ....
|
||||
|
||||
Tim Wilkinson
|
||||
<tim@sarc.city.ac.uk>
|
||||
<tim@tjwassoc.demon.co.uk>
|
||||
----
|
||||
* Java and Javasoft are registered trademark of Sun Microsystems, Inc.
|
||||
|
|
|
@ -7,13 +7,13 @@ bin/kaffe
|
|||
bin/kaffeh
|
||||
include/kaffe/jtypes.h
|
||||
include/kaffe/native.h
|
||||
include/kaffe/stubPreamble.h
|
||||
include/kaffe/StubPreamble.h
|
||||
man/man1/kaffe.1.gz
|
||||
share/kaffe/license.terms
|
||||
lib/libkaffe_native.so.0.5
|
||||
lib/libkaffe_native.so.0.55
|
||||
lib/libkaffe_native.so
|
||||
lib/libkaffe_vm.so.0.5
|
||||
lib/libkaffe_vm.so.0.55
|
||||
lib/libkaffe_vm.so
|
||||
lib/libkaffe_net.so.0.5
|
||||
lib/libkaffe_net.so.0.55
|
||||
lib/libkaffe_net.so
|
||||
@exec /sbin/ldconfig -m %B
|
||||
|
|
Loading…
Add table
Reference in a new issue