Re: [Sablevm-developer] Porting SableVM to ARM: Questions
Brought to you by:
egagnon
From: Etienne M. G. <eti...@uq...> - 2002-12-03 23:01:54
|
Gunda Domlur wrote: > Hi, > > I am trying to port sableVM for ARM linux (netwinder). After looking > thru the archives, I already made the following changes > > system.c: iflush and compare_and_swap ported to ARM > system.h: The correct typedefs are in place > jni_system_specific.h: Necessary changes are done. > > Am I missing anything else ? No. The fun part (let say not before January) will be to make the inline-threaded engine functional on ARM. For the benefit of all subscribers: I am currently making the *final* little modifications to my thesis (as requested by the Ph.D. committee; little typos...) which I should be publishing on the Internet in a few days. Yep, I have successfully [:-)] passed both the written Thesis evaluation and the oral Ph.D. defense. > Proabably a stupid question, where does the cpu type definitions (e.g. > __ia64__) defined ? I don't know for sure, but I think it is internally generated by GCC. I looked through config.guess and found: #if defined (__arm) ... You might want to try that, just in case it works. ;-) Otherwise, we can play tricks in configure.ac (as long as the configure magic correctly detects ARM), and add a test to define a constant when ARM architecture is detected. Etienne -- Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |