From owner-freebsd-java Mon Apr 5 18:33:23 1999 Delivered-To: freebsd-java@freebsd.org Received: from h24-64-221-247.gv.wave.shaw.ca (24.64.221.247.bc.wave.home.com [24.64.221.247]) by hub.freebsd.org (Postfix) with ESMTP id F0938154FA for ; Mon, 5 Apr 1999 18:33:20 -0700 (PDT) (envelope-from jake@h24-64-221-247.gv.wave.shaw.ca) Received: from h24-64-221-247.gv.wave.shaw.ca (localhost [127.0.0.1]) by h24-64-221-247.gv.wave.shaw.ca (8.9.3/8.9.2) with ESMTP id SAA01206 for ; Mon, 5 Apr 1999 18:31:24 -0700 (PDT) (envelope-from jake@h24-64-221-247.gv.wave.shaw.ca) Message-Id: <199904060131.SAA01206@h24-64-221-247.gv.wave.shaw.ca> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-java@FreeBSD.ORG Subject: Re: JIT for ELF JDK -- shujit Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_16371644000" Date: Mon, 05 Apr 1999 18:31:23 -0700 From: Jake Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multipart MIME message. --==_Exmh_16371644000 Content-Type: text/plain; charset=us-ascii Hi, I've got the shuJIT compiler working with the ELF JDK if anyone is interested; latest version -- 0.2.10. I'm running up to date (today) 4.0-current, etc. egcs, but I doubt that matters. It just needed a simple patch to compiler.h, which I have attached. /usr/local/java/bin/i386/green_threads/java: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped /usr/local/java/lib/i386/green_threads/libshujit.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped >cat hello.java public class hello { public static void main(String[] argv) { System.out.println("Hello World!"); } } >javac hello.java >java hello shuJIT for Sun JVM/IA-32 Copyright 1998,1999 by SHUDO Kazuyuki Hello World! :) I haven't tested it in any major way, but it runs my latest project for seng430 fine. Cheers, --==_Exmh_16371644000 Content-Type: text/plain ; name="compiler.diff"; charset=us-ascii Content-Description: compiler.diff Content-Disposition: attachment; filename="compiler.diff" --- compiler.h Tue Feb 23 05:32:51 1999 +++ compiler.h Mon Apr 5 17:11:34 1999 @@ -124,7 +124,7 @@ # undef EXECUTEJAVA_IN_ASM # undef RESOLVE_SYMBOL_ON_CODE # undef SEARCH_SIGCONTEXT -# define LIBS_ADDDLSEG "/usr/lib/aout/libc.so.3.1|/usr/lib/aout/libc.so.3.0|/usr/lib/libc.so.3.1|/usr/lib/libc.so.3.0,/usr/lib/aout/libm.so.2.0|/usr/lib/libm.so.2.0" +# define LIBS_ADDDLSEG "/usr/lib/libc.so.3,/usr/lib/libm.so.2" #else # undef EXECUTEJAVA_IN_ASM # undef RESOLVE_SYMBOL_ON_CODE --==_Exmh_16371644000 Content-Type: text/plain; charset=us-ascii we are but packets in the internet of life --==_Exmh_16371644000-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message