Re: Great(?) idea [was: Re: [Sablevm-developer] Porting SableVM to ia64 done in 3 (lazy) hours]
Brought to you by:
egagnon
From: Etienne M. G. <eti...@uq...> - 2002-10-14 00:47:22
|
On Sat, Oct 12, 2002 at 02:31:43PM +0200, Grzegorz Prokopski wrote: > Would you apply a patch that makes all of the above automagic? > I mean: > - I can autodetect if this cmpxchg in asm/system.h is available > (I already have the patch using autotools) > - I can autodetect which types use for which needed sizes > (I already have the patch using autotools) > - I can autodetect page size (getpagesize), siezeof(void*) > and the helper values (see that small testing app I sent yesterday) > [I need to assume sth. about alignment unfortunatelly, like that > it's equal to machine word size] > > If we had this, we could have all Linux arches "just" working. > If there will be other arches, maybe non-linux that we want to > support - we can always have #else - don't we? There seems to be a BSD version of SableVM floating around; so we definitely need to provide an "#else" hook for these. > The same stands for some better support for certain architectures. > > But the aim is > "This program can be compiled on any Linux machine if it's dependencies > can be fulfilled" > > Do you think you would apply such patch if I prepared complete solution? I think so. -- Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |