Squeak VM for Darwin/X11R6 for PPC?

Bruce ONeel beoneel at bluewin.ch
Thu Apr 11 09:19:30 UTC 2002


gcc compilers can be talked into givingng up this info with
gcc -E -dM test.c

where test.c is just some small program.  The above will give you the
defaults.

cheers

bruce


Martin McClure <martin at hand2mouse.com> wrote:
> 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