pending 3.6.0x Mac VM

John M McIntosh johnmci at smalltalkconsulting.com
Tue Oct 7 02:38:39 UTC 2003


On Monday, October 6, 2003, at 05:37  PM, Phil Hargett wrote:

> Okay, definitely some user error in my last build. ;)
>
> Basically, this time I followed the directions in platforms/Mac  
> OS/Documentation/readme, and discovered that last time I had not put  
> the VMMaker sources in a location that matched what the Project  
> Builder project expected.  Not a big deal, but definitely made things  
> simpler this time when I followed your guidance (e.g., VMMaker  
> generated source in a directory sibling to the platforms directory  
> from CVS).
>
> However, I still had to make 2 changes not indicated in the readme:
>
> 	1.  remove CC & CPLUSPLUS settings in the Expert View of Squeak VM  
> Opt target settings.  These settings specified that /usr/bin/gcc-3.3  
> be used, but I do not have that installed at this time.

Usage of 3.3 will result in much better VM performance, usage of gcc  
3.1 will result in poor performance. usage of gcc 2.9x is ok.


> 	2.  added #include "sq.h" before #include "aio.h" in file aio.c.   
> Without it, I received a linker error while attempting to resolve  
> external _ioMSecs

Yes, this is a issue in the platform specific headers I need to address  
for the mac, or get Ian to alter his includes. Issue is the clock  
routine call doesn't exist, but it's #ifdef to another clock routine on  
the mac in the platform specific headers, that doesn't happen when you  
don't include the "sq.h" and an implicit declare is done which resolves  
to a linking error.


>
> I noticed that this build used sqUnixSocket.c for the SocketPlugin:  
> that's what I couldn't use when I last attempted a build and posted my  
> problem to this list.  I can't tell you if problems have been  
> resolved, 'cause...when I attempt to launch this VM, I receive an  
> error "Squeak VM unexpectedly quit."
>
> Any ideas why I can't launch this VM?  There were no build errors, and  
> I did clean all before I did the build.
>
> I'll leave this source tree intact; I'd be happy to help troubleshoot  
> the Mac OS X Carbon build process further.

Phil if you could stuff your entire project directory and send it to  
me. email me not the list, I doubt anyone wants to see 10-20MB of
source & object code. Then I'll look at why it doesn't work.

However first I'd suggest you run in debugging mode to see where the VM  
crashes in the gnu debugger. Might be a simple
explaination

--
======================================================================== 
===
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