[Sablevm-developer] Re: Only lack basics from libffi2 to run SableVM JVM on mips/mipsel
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2004-02-15 20:04:51
|
W li=B6cie z nie, 15-02-2004, godz. 09:09, Martin Michlmayr pisze:=20 > * Grzegorz B. Prokopski <ga...@de...> [2004-02-02 04:17]: > > Spoiler: if there the basic libffi functions were available on > > mips/mipsel I could very easily make SableVM Java Virtual Machine > > run on these. > >=20 > > Apparently there are some people upstream that work on libffi for > > mips/mipsel ex. http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01053.ht= ml > >=20 > > SableVM only needs two basic functions: ffi_prep_cif and ffi_call, > > and NOT the whole libffi, with advanced stuff like closures. > >=20 > > Therefore would it be possible to have libffi for mips/mipsel built a= s > > Debian package? >=20 > Note that I'm no mips expert, so I cannot help you fixing stuff, but > I do have a mips/mipsel machine so I can help you test stuff. In any > case, doko said that libffi should become available for mipsel with > GCC 3.4 (see #229844). Once that happens, I'd be happy to test > SableVM on my mips box and perhaps also provide you remote access. Hi Martin! That would be really great! I hope it won't take too long before gcc 3.4 (-0preX) hits unstable (probably as we release sarge, no? ;-) Looking forward to make SableVM work on mips/mipsel Grzegorz B. Prokopski PS: Cc:ing SableVM-devel ML w/ these news. I hope you don't mind. PPS: In fact, if we have everything installed BUT the libffi, then it's quite easy to just fetch gcc-3.4 source and compile libffi only. See http://devel.sablevm.org/wiki/LibFFI for instructions. If you were able to fill in needed info in system.c and system.h files - then I think you can make SableVM work on mips "just like that". Ignore cache flush function, you only need atomic compare&swap (or make a plai-C stuf at first), and basic informations about word/page size of your arch. Hm... I've just written quick porting guide at http://devel.sablevm.org/wiki/Porting --=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 |