[Vm-dev] Cog/Stack VM on PowerPC?

Douglas McPherson djm1329 at san.rr.com
Tue May 13 04:27:48 UTC 2014


Thank you both John and Eliot,

Yes that was the problem ... I changed the architecture setting in the CoreVM project, but I (also?) needed to make the change for the Squeak target. 

Now that I'm building for the right architecture, there are several compile errors ... mostly atomic operation macros not yet defined for PPC.  Also an error due to no high res clock defined :(

My actual goal for this effort is to try to fill in the pieces of the ThreadedPPCBEFFIPlugin, mostly as an academic exercise.  

Doug


On May 12, 2014, at 11:01 , John McIntosh wrote:

> It might be defaulting to build intel architecture. Check the build parms to see if it is building a fat binary of power pc and intel instructions.  You can use the os-x cmd lipo to confirm you have both architectures in the build. 
> 
> 
> On Mon, May 12, 2014 at 10:16 AM, Douglas McPherson <djm1329 at san.rr.com> wrote:
> 
> Yesterday I spent several hours resurrecting an old PowerMac G4 running OS X 10.5 (Leopard). I managed to find Xcode 3.1.4 download on Apple's developer site and install it. I want to build a Cog/Stack VM for this machine. I opened the xcode project in Cog/stackbuild/macbuild/CoreVM.xcodeproj and built with no problems. However the VM won't start instead popping up "You can't open the application "Squeak" because it is not supported on this architecture." This is the same message I get if I try to open the Squeak-4.5-All-in-One on the G4 - which in that case makes sense since it's a full Cog VM built for IA32 and of course doesn't run on PPC.
> 
> So my questions are:
> 1. Should I be able to run Cog/Stack on PPC?
> 2. How should I build it? Clearly I'm doing something wrong.
> 
> Thanks,
> Doug
> 
> 
> 
> 
> -- 
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882
> ===========================================================================
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140512/873880f4/attachment.htm


More information about the Vm-dev mailing list