From owner-freebsd-java Mon Feb 22 5:41:57 1999 Delivered-To: freebsd-java@freebsd.org Received: from fgw.netvalue.fr (fgw.netvalue.fr [194.2.38.194]) by hub.freebsd.org (Postfix) with ESMTP id 9AA7311A43 for ; Mon, 22 Feb 1999 05:41:13 -0800 (PST) (envelope-from erwan@netvalue.fr) Received: by fgw.netvalue.fr; id OAA02020; Mon, 22 Feb 1999 14:55:07 +0100 (CET) Received: from etoile.netvalue.fr(192.168.1.11) by fgw.netvalue.fr via smap (3.0) id xma002004; Mon, 22 Feb 99 14:54:47 +0100 Received: from netvalue.fr ([192.168.1.100]) by etoile.netvalue.fr (Netscape Messaging Server 3.5) with ESMTP id AAA608B; Mon, 22 Feb 1999 14:40:08 +0100 Message-ID: <36D15E3B.3FBAE932@netvalue.fr> Date: Mon, 22 Feb 1999 14:40:12 +0100 From: Erwan Arzur Organization: NetValue S.A. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: SHUDO Kazuyuki Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <199902221203.VAA06978@cafe.muraoka.info.waseda.ac.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org SHUDO Kazuyuki wrote: > > > See the FreeBSD java WWW page for a couple of JITs. ShuJIT appears to > > > work quite well. > > > Have you been able to make it behave correctly under 4.0-CURRENT ? > > > > I've tailored the Makefiles to make them generate aout libraries that the > > current FreeBSD JVM should be able to load, but even the simpliest "hello, > > world" program fails miserably, there is some kind of infinite loop somewhere, > > which i could not track due to lack of time :-( > > Have you ever tried with a binary distribution > (shujit-*-bin-freebsd.tar.gz)? I just tried and it works, but given the new /usr/lib/aout directory, you have to create the appropriate symlinks (libc.so.3.1 -> aout/libc.so.3.1 and libm.so.2.0 -> aout/libm.so.2.0) or recompile ... I feel these symlinks are not very clean :-' > Which C compiler did you use to compile shuJIT? gcc 2.7? egcs? > If you used gcc 2.7, did you see and edit `CC_VER =' line in def.mk? It is the stock gcc compiler, distributed with -current ... I think i missed this CC_VER in def.mk :-( After compiling it, it seems that -current /usr/libexec/elf/objdump cannot handle aout object files, and i can't seem to find any other objdump for aout in my system. This is what was causing the JIT to fail ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message