aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjit/files
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-26 21:04:30 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-26 21:04:30 +0800
commitafddebd31f9e85bd659209816d3c87f3821648bc (patch)
tree9921c84024301a794b05008e8dea763815a399bf /java/openjit/files
parentedc52912041d3ade3ff8ac4cfc3deb968104c1da (diff)
downloadfreebsd-ports-gnome-afddebd31f9e85bd659209816d3c87f3821648bc.tar.gz
freebsd-ports-gnome-afddebd31f9e85bd659209816d3c87f3821648bc.tar.zst
freebsd-ports-gnome-afddebd31f9e85bd659209816d3c87f3821648bc.zip
Add openjit - a high-performance reflective Java Just-In-Time (JIT) bytecode
compiler.
Diffstat (limited to 'java/openjit/files')
-rw-r--r--java/openjit/files/patch-aa27
-rw-r--r--java/openjit/files/patch-ab11
-rw-r--r--java/openjit/files/patch-ac48
3 files changed, 86 insertions, 0 deletions
diff --git a/java/openjit/files/patch-aa b/java/openjit/files/patch-aa
new file mode 100644
index 000000000000..066a903d9c96
--- /dev/null
+++ b/java/openjit/files/patch-aa
@@ -0,0 +1,27 @@
+--- Makefile.in.orig Tue Sep 26 10:43:57 2000
++++ Makefile.in Tue Sep 26 15:34:34 2000
+@@ -112,12 +112,12 @@
+
+ .PHONY: all optimized debug clean
+
+-all: debug optimized
++all: optimized
+
+ library: debug optimized
+
+-OpenJIT.jar: org/OpenJIT/*.class
+- jar cvf OpenJIT.jar org/OpenJIT/*.class
++OpenJIT.jar: all
++ $(JAVA_HOME)/bin/jar cvf OpenJIT.jar org/OpenJIT/*.class
+
+ CC = @CC@
+
+@@ -131,7 +131,7 @@
+ OBJDIR = obj$(SUFFIX)
+
+ CFLAGS_COMMON = -Wall @CFLAGS@
+-CFLAGS_OPT = -O2
++CFLAGS_OPT = -Wall @CFLAGS@
+ CFLAGS_DBG = -g
+ CFLAGS = $(CFLAGS_$(VARIANT)) $(CFLAGS_COMMON) $(OTHER_CFLAGS)
+ INCLUDES = -I@JDK_INCLUDE@ -I@JDK_INCLUDE@/$(PLATFORM) -I./CClassHeaders
diff --git a/java/openjit/files/patch-ab b/java/openjit/files/patch-ab
new file mode 100644
index 000000000000..dc2c24fcc149
--- /dev/null
+++ b/java/openjit/files/patch-ab
@@ -0,0 +1,11 @@
+--- configure 2000/09/26 12:09:19 1.1
++++ configure 2000/09/26 12:09:47
+@@ -724,7 +724,7 @@
+ SET_MAKE="MAKE=${MAKE-make}"
+ fi
+
+-CFLAGS=""
++#CFLAGS=""
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
diff --git a/java/openjit/files/patch-ac b/java/openjit/files/patch-ac
new file mode 100644
index 000000000000..22401114c810
--- /dev/null
+++ b/java/openjit/files/patch-ac
@@ -0,0 +1,48 @@
+--- INSTALL.orig Tue Dec 21 05:10:46 1999
++++ INSTALL Tue Sep 26 15:58:13 2000
+@@ -2,39 +2,17 @@
+
+ A Reflective JIT Compiler for Java
+
+-REQUIREMENTS
+-============
+-OpenJIT requires a running port of the JDK 1.1.x or 1.2.x on Solaris,
+-Linux or FreeBSD platform. Please download JDK 1.1.x or later and
+-install it on your system. The current version of OpenJIT was tested
+-on the following JDK packages:
+-
+- * Solaris (SPARC) JDK1.1.8 and JDK1.2.2
+- downloaded from http://java.sun.com/jdk/
+- * Linux (x86) JDK1.1.7 and JDK1.2.2
+- downloaded from http://www.blackdown.org/
+- * FreeBSD (x86) JDK1.1.8
+- downloaded from http://www.freebsd.org/java/
+-
+-And to build OpenJIT will require the GNU C Compiler (version 2.7.2.3
+-or egcs-1.1.2, or later)
+-
+-
+-BUILDING AND INSTALLATION
+-=========================
+-To install the OpenJIT into JDK, perform the following steps in your
+-shell:
+-
+- $ ./configure --with-jdk=/path/to/jdk
+- $ make
+- $ make install
+-
+-
+ HOW TO RUN
+ ==========
+ You may either specify the compiler to the JVM on the command line, or
+ you may set an environment variable that will let the JVM find the
+ compiler.
++
++In both cases first you should set LD_LIBRARY_PATH and CLASSPATH enviropment
++variables as follows:
++
++ $ export LD_LIBRARY_PATH=%%PREFIX%%/lib/OpenJIT
++ $ export CLASSPATH=%%PREFIX%%/lib/OpenJIT/OpenJIT.jar
+
+ For the command line option, run Java using option "-Djava.compiler=",
+ like this example: