From owner-freebsd-hackers Mon Feb 22 2:51:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rah.star-gate.com (rah.star-gate.com [209.249.129.138]) by hub.freebsd.org (Postfix) with ESMTP id 8FEC110E6A for ; Mon, 22 Feb 1999 02:51:50 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.1/8.8.8) with ESMTP id CAA56071; Mon, 22 Feb 1999 02:50:44 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199902221050.CAA56071@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Alex Zepeda Cc: hackers@FreeBSD.ORG Subject: egcs and EF 8) was (Re: gcc 2.8.1 Exceptions? ) In-reply-to: Your message of "Mon, 22 Feb 1999 01:10:27 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Feb 1999 02:50:44 -0800 From: Amancio Hasty Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, With my latest little hacks I managed to get "EF" compiled with egcs from the ports distribution: egcs-2.91.60 Not bad 8) time ./sajava -nosys -classpath $CLASSPATH Test 0.348u 0.038s 0:00.39 94.8% 44+1195k 0+0io 0pf+0w time /maxtor/jdk116.src/javasrc/build/bin/java Test 7.594u 0.074s 0:07.85 97.5% 6+786k 0+0io 0pf+0w public class Test { public static void main (String args[]) { int j = 0; for (int i = 0; i < 10000000; i++) { j += 1;^ }^ }^ }^ The port is still not complete. I am having other problems now and I think it is due to floating point exceptions: The same program with a Hello printf and compiling on the fly the supporting java classes by taking out the "-nosys" option: time ./sajava -classpath $CLASSPATH Test linker_path = /maxtor/gcsns/ef/mozilla/dist/FreeBSD3.0_EMU_DBG.OBJ/lib:/maxtor/ gcsns/ef/mozilla/ef/dist/FreeBSD3.0_x86_DBG.OBJ/bin:/root:/usr/local/netscape/l ib/freebsd Netscape_Java_java_lang_Thread_registerNatives not implemented Netscape_Java_java_security_AccessController_getStackAccessControlContext not implemented Hello 6.701u 0.187s 0:07.14 96.3% 42+15657k 0+0io 0pf+0w The respective jdk run : {hasty} time /maxtor/jdk116.src/javasrc/build/bin/java Test 7.596u 0.101s 0:07.84 98.0% 6+781k 0+0io 0pf+0w So it is about the same as the jdk :( During the compilation phase EF's gets a little confused due to the treatment of NaN in our enviroment . I will track down the problem later on this week ... Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message