Squeak VM for Darwin/X11R6 for PPC?

Bruce ONeel beoneel at bluewin.ch
Tue Apr 9 11:41:25 UTC 2002


This turned out to be quite bizzare.

The line 

register char * localSP SP_REG;

got a syntax error.  The two lines:

register char * localSP;
register char * SP_REG;


were just fine fom the compiler's pov.


cheers

bruce


John M McIntosh <johnmci at smalltalkconsulting.com> wrote:
> >You know, this is the exact same problem I get on NetBSD/PPC...
> >
> >Has anyone else gotten this to work?  I haven't had the time to poke
> >into it...
> >
> >cheers
> >
> >bruce
> >...
> 
> 
> 
> >  > gnu-interp.c:5092: syntax error before `SP_REG'
> >  > gnu-interp.c:5093: syntax error before `IP_REG'
> >  > gnu-interp.c:5094: syntax error before `CB_REG'
> .
> 
> Bruce this looks like your compiler is having issues with the gnu 
> specific logic that builds and uses jump tables at run time. The 
> SP_REG stuff is mapping specific registers to varables for 
> performance reasons. Does your compiler support these extentions?
> 
> 
> 
> -- 
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================



More information about the Squeak-dev mailing list