Squeak VM for Darwin/X11R6 for PPC?

Martin McClure martin at hand2mouse.com
Wed Apr 10 21:05:53 UTC 2002


At 12:52 PM -0700 4/10/02, John M McIntosh wrote:
>
>If you look in sqGnu.h you'll see
>
>#if defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined (__APPLE__)
>
>
>I'd bet the compiler under Darwin isn't defining one of those above. Thus the
>#define for SP_REG never happens and then we think SP_REG is a variable.
>
>Maybe it defines _POWER_?
>

Is there anyplace that documents all these variables and which 
environments define which ones? I haven't been able to find such a 
thing. It sure would make it easier to track down problems in this 
area if there were somewhere in the SourceForge checkout you could 
look and see a comment that listed a table of these variables for all 
platforms. Maybe in sq.h, or at least a comment in the 
sqPlatformSpecific.h for each platform.

-Martin



More information about the Squeak-dev mailing list