Date: Mon, 05 Apr 1999 18:31:23 -0700 From: Jake <jake@checker.org> To: freebsd-java@FreeBSD.ORG Subject: Re: JIT for ELF JDK -- shujit Message-ID: <199904060131.SAA01206@h24-64-221-247.gv.wave.shaw.ca>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904060131.SAA01206>