dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Portable.NET 0.5.4 released


From: Gopal V
Subject: Re: [DotGNU]Portable.NET 0.5.4 released
Date: Sun, 30 Mar 2003 01:43:04 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Rhys Weatherley wrote:
> The high points are the beginnings of support for Generic IL and
> Reflection.Emit, with lots of little bug fixes here and there.

As promised , I offer the patches to get cscc to compile Java bytecode.

Steps
-----

get http://symonds.net/~gopalv82/code/java_patches.tgz

cd pnet-0.5.4 && patch < ~/java_patches/configure.in.patch
cd pnet-0.5.4/codegen && patch < .........codegen.patch
cd pnet-0.5.4/cscc && patch < .............makefiles.patch
cd pnet-0.5.4/cscc/ && tar -xzvf ~/java_patches/cscc_java.tgz
cd pnet-0.5.4/ && tar -xzvf ~/java_patches/javalib.tgz
cd pnet-0.5.4/ && ./auto_gen.sh && ./configure && make
(as root) make install
cd pnet-0.5.4/cscc/javalib/ && make 
(as root) make install // installs to /usr/local/lib/cscc/lib/

now try compiling a HelloWorld.java with the following command

cscc -ljava.lang HelloWorld.java
ilrun a.out.exe

The only sad thing is that it still cannot mix compile Java & C# ...
(which is no real big deal unless you're emulating java.lang.String in
 C#... and java.lang.Integer in Java)

My benchmark with a Blackdown port of JDK 1.2.2 gave me an astonishing
result. For 891 lines in 15 files , javac took 15695 msecs while cscc 
took just 247 msecs making it 63 times faster ?. *yow* 

Gopal
-- 
The difference between insanity and genius is measured by success


reply via email to

[Prev in Thread] Current Thread [Next in Thread]