[Mono-list] mono port to OS X

Radek Doulík rodo@ximian.com
27 Aug 2002 15:17:24 -0400


On Út, 2002-08-27 at 06:00, Paolo Molaro wrote:
> > It seems as though the calling convention used on Mac OS X is different 
> > from the Linux one. An immediate difference that I noticed was that the 
> > Linux one (according to the arch/ppc/tramp.c file) is not leaving space 
> > available in the stack when it fills a register with a parameter. I knew 
> > that wasn't the problem, but I fixed it anyway. Anyone else know of 
> > register-clobbering differences between the two operating systems?
> 
> I don't know about the ppc details, but maybe perusing
> http://lxr.mozilla.org/mozilla/source/xpcom/reflect/xptcall/src/md/mac
> gives some ideas. Radek is our ppc porting hacker, I'm sure he'll be
> able to give more info on the specific problem.

Yeah, it looks like it's different, so unfortunately it will be more
work to port to Mac OS X. At least you could start with ppc/tramp.c.

Radek