Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 02:50:44 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Alex Zepeda <garbanzo@hooked.net>
Cc:        hackers@FreeBSD.ORG
Subject:   egcs and EF 8) was (Re: gcc 2.8.1 Exceptions? )
Message-ID:  <199902221050.CAA56071@rah.star-gate.com>
In-Reply-To: Your message of "Mon, 22 Feb 1999 01:10:27 PST." <Pine.BSF.4.05.9902220107100.961-100000@zippy.dyn.ml.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902221050.CAA56071>