Re: [Sablevm-developer] Obsoleting sablevm-classpath NOW!
Brought to you by:
egagnon
From: David <db...@cs...> - 2004-03-22 06:00:45
|
Hello, I really like this idea! Good work Grzegorz! I looked quickly at the reorganization and it looks good. I will test later, probably wait until it gets into staging. David On Sun, Mar 21, 2004 at 09:58:38PM -0500, Grzegorz B. Prokopski wrote: > Hi everybody, >=20 > Spoiler: this SableVM supports GNU Classpath CVS out-of-the-box >=20 > svn co svn://svn.sablevm.org/developers/gadek/sandbox/svm-cpootb >=20 > [ Instalation instructions are at the end ] >=20 > How big hack it is, you'd ask? Well, yes, it is one, but not that big. > But let me explain from the beginning. >=20 > =3D=3D=3D=3D Story =3D=3D=3D=3D >=20 > I discussed with Mark integration of GNU CP and SableVM. As far as I > could understand his POV, the course will probably be so that each > VM itself supplied own set of VM* classes. These classes wouldn't need > to reside in GNU CP tree, so ./vm/reference will move to ./vm. > (this is still a matter of discussion, I am not stating what will be!) >=20 > Since some time I was looking at the diff between our classpath and > upstream besides changes in VM* classes there were mainly thing related > to ClassLoader, which currently is broken/doesn't exist in GNU CP, > plus some other stuff that will have to be actually merged, ie. removin= g > static initializers (though not too many of such things). >=20 > So I simply integrated VM* classes subtree with sablevm source, > plus added these classes, which we have to have modifed because > of the above reasons. This approach can be seen as > controversial, but IMO there's no reason for SableVM to suffer > just because all CP developers (us including) haven't agreed on > ex. what ClassLoader should look/work like! >=20 > The list of "classes that should not be there" (there's currently 12! > of them) is provided and these classes should be eliminated one by one > as soon as Classpath's code of this classes becomes usable for us. But > this can be done incrementally and we can work w/ GNU CP CVS now, and > not at the end of the process. >=20 > If this or similar idea gets accepted (are you liestening Etienne? ;-) > we can stop providing our "own" sablevm-classpath tree, but simply > ship (almost) original classpath 'dist' tarball plus sablevm tarball. >=20 > Unfortunatelly this doesn't let us forget about merging with GNU CP, > as merging of changes to the VM* classes will always be needed until > the interface isn't stabilized. And of course we need to merge changes > done to these "classes that should not be there" in our tree, but we > do that already anyway and this too should go away after some time. >=20 > =3D=3D=3D=3D Rough edges =3D=3D=3D=3D >=20 > The current code has some "features" you should be aware of. > 1. Classpath *must* be installed first because jikes needs these > classes to properly compile VM* classes. > 2. WARNING: During 'make install' VM* classes from sablevm *overwrite* > Classpath VM* classes (and the "classes that shouldn't be there" > overwrite their counterparts). > 3. I assume you're going to use jikes, no other javac is supported ATM. >=20 > 1. will probably never go away, and 3. don't seem to be very harmful. > Ad. 2: this is because currently bootclasspath can NOT contain more tha= t > one path. This should go away if we add support like for normal > classpath values, so that ":" was used as a separator. Put onto > immediate TODO list *IF* this or similar approach is accepted. >=20 > =3D=3D=3D=3D Installation instructions =3D=3D=3D=3D >=20 > 1. get SableVM from the above SVN address. > 2. get GNU Classpath from CVS http://savannah.gnu.org/cvs/?group_id=3D8= 5 > 3. get easy-classpath-build script by using: > svn cat svn://svn.sablevm.org/sablevm-classpath/branches/staging \ > >./build_sablevm-classpath > chmod +x ./build_sablevm-classpath > 4. go into GNU Classpath source dir and run=20 > ../svm-cpootb/autogen.sh > ../build_sablevm-classpath /where/you/want/to/install > 5. go into SableVM source dir 'svm-cpootb' > ./autogen.sh && ./configure --prefix=3D/where/you/want/to/install && \ > make && make install >=20 > Have fun! >=20 > Grzegorz B. Prokopski >=20 > --=20 > Grzegorz B. Prokopski <ga...@de...> > Debian GNU/Linux http://www.debian.org > SableVM - LGPLed JVM http://www.sablevm.org > Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dc= lick > _______________________________________________ > Sablevm-developer mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-developer --=20 --- David B=E9langer 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 |