classpath
[Top][All Lists]
Advanced

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

Re: porting to another jvm/jit


From: David Bélanger
Subject: Re: porting to another jvm/jit
Date: Tue, 7 Oct 2003 15:56:27 -0400
User-agent: Mutt/1.3.28i

On Tue, Oct 07, 2003 at 08:46:44PM +0200, Joseph Wenninger wrote:
> Hi
> 
> I'm porting a jvm/jit for a university project to the gnu classpath,
> since it is nearly impossible to support the sun jre, if you can't sign
> the sun community license, and  therefor don't have the sun-namespaces
> sources.
> 
> I have done a quick hack for testing purposes, but how would I cleanly
> integrate the classpath? My question is, how other jvm developers cope
> with the the VM*.c files ? Do they have to be in the classpath
> hierarchy, or can I somehow create a static classpath lib and than link
> that one against my own, which contains the VM specific implementations
> ?

In SableVM, all the VM specific java_lang_VM*.c are located in the
SableVM source tree and are compiled with the other SableVM code.  Most of
these need accesses to internal data structures and functions.

David

> 
> 
> 
> Off-topic:
> By the way, we would like to support jdk 1.2 class files (major 45,
> minor 3). I tried to compile the classpath with jikes -source 1.2
> -target 1.2, but it looks like jikes 1.18 doesn't really work with that.
> Did anybody try that ? Is there another usable compiler for jre 1.2
> compatible class files ?  With jikes I get wrong
> [Field|Method|InterfaceMethod]Ref infos structures for many classes,
> they point into the constant pool to array constants instead of object
> constants. According to my knowledge that's wrong.
> Could it be a problem of how the classpath is compiled ?
> 
> 
> 
> 
> I'm using the 0.06 tarball
> 
> Thanks in advance for any information/help
> 
> Kind regards
> Joseph Wenninger
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/classpath

-- 

---

David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt





reply via email to

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