Re: [Sablevm-developer] Re: Compile issue
Brought to you by:
egagnon
From: Etienne M. G. <eg...@j-...> - 2000-12-04 01:49:49
|
Brent Fulgham wrote: > > Would you like to work on the application class loader? > > > Yes! Can you point me towards any references on how it should work? > For example, I could possibly look at Kaffe's or Japhar's implementation > for hints since their licenses are GPL/LGPL. Or are we approaching it in a > different fashion? I don't know much about the innards of Kaffe. I do not know how they do it; but I know how I'd like it done;-) See below. > > Sounds good to me. Is it a goal to have SableVM compile under, for > example, Windows using Borland or Microsoft's compiler? The VM code > looks like it makes use of some GNU C extensions. SableVM has the following "hard" dependencies: 1- ANSI C compiler & library 2- POSIX library The current dependency on GNU C's labels as values will be optional, hopefully selected automagically through some configure magic. Did you receive my request mail, on the SableVM-"USER" mailing-list? (http://www.geocrawler.com/archives/3/4430/2000/11/0/4750188/) > > Hmmmm, why not in "/etc" (this path would be a compile time constant, as > > I already do with the license files). I would very much like sablevm to > > use configuration files, instead of environment variables, to find its > > default boot paths. Much cleaner. > > Yes. And easy to do. We would want to retain the command-line parsing > to allow user-override. So we just add some code to parse a simple > configuration file of "tag = value" pairs: > > boot-class-path = /usr/lib/sablepath/classes > boot-library-path = /usr/lib/sablepath > class-path = /usr/share/java > > What do you think? I could code this up relatively quickly. But > the class-loader will take more time while I research how it should > work. I think there already exist some libraries for parsing such configuration files. Let me check the Debian archive for some license compatible one (something like LGPL or public domain). As for the class loader stuff, you will probably need to work in close collaboration with me on this one, as it involves the VM. How about fixing the parsing stuff first? ;-) I'll tell you as soon as (or if) I find a library. Etienne -- ---------------------------------------------------------------------- Etienne M. Gagnon, M.Sc. e-mail: eg...@j-... Author of SableCC: http://www.sable.mcgill.ca/sablecc/ and SableVM: http://www.sablevm.org/ ---------------------------------------------------------------------- |