Squeak VM for Darwin/X11R6 for PPC?
bert at isg.cs.uni-magdeburg.de
Wed Apr 10 11:43:25 UTC 2002
Actually, there is no comma missing.
SP_REG is a #define in sqGnu.h. On PPC it should resolve to asm("27")
which means a fixed register is allocated for localSP, which is good for
speed. If your compiler cannot handle this fixed register allocation, just
define SP_REG to nothing. Although I can hardly believe gcc should be
that much platform dependend. Maybe just the wrong #define got put in
there? Or did you forget to include sqGnu.h at all?
On Wed, 10 Apr 2002, Bruce ONeel wrote:
> Thanks for noticing that. Yes, I did cut and past it and
> yes that's what is there now, both on the NetBSD system as well as
> my Solaris box. Odd, the Solaris gcc was happy and so
> was the 68k NetBSD one, but not the PPC NetBSD...
> Peter Crowther <peter.crowther at networkinference.com> wrote:
> > > From: Bruce ONeel [mailto:beoneel at bluewin.ch]
> > > The line
> > >
> > > register char * localSP SP_REG;
> > >
> > > got a syntax error.
> > Did you cut'n'paste that? It's missing a comma...
> > - Peter
More information about the Squeak-dev