My Annual VM-building post (MacOS)

Josh Gargus schwa at fastmail.us
Thu Nov 10 18:01:28 UTC 2005


On Nov 10, 2005, at 11:49 AM, John M McIntosh wrote:

> Lets see
> Update your SVN to 1269, don't follow any branchs.
> Follow instructions in the 'readme' found in the mac os  
> documentation folder.
>

1269?  Yay, new updates since this morning :-)

> The most important advice is that you need a beta VMMaker from
> http://www.rowledge.org/tim/squeak/SqFiles/packages/VMMaker/VMMaker- 
> tpr-37.mcz

I figured that I needed a new VMMaker, but couldn't find one when I  
looked around.

> When this loads rely yes to move FloatProto to Undeclared.
> Also ensure you load these two change sets found in specialChangeSets.
>
> load VMM38-gc-instrument-image.1.cs.
> load VMM38-64bit-imageUpdates.1.cs.

Will try.

Thanks a bunch,
Josh




>
>
>
> On 10-Nov-05, at 7:32 AM, Josh Gargus wrote:
>
>> Hi there,
>>
>> Like usual, I can't figure out how to build a VM.  Here's what I  
>> tried:
>>
>> Squeak3.9a-6676 + subversion trunk updated this morning
>> ==============================================
>> Installed VMMaker (3.8b4)
>> Installed Balloon3D
>> Installed Gnuifier.5.cs
>> Installed ArraysToGlobalStruct-JMM.1.cs
>> Attempted to Generate VM
>> 	- all available plugins internal, except did not build (as  
>> suggested)
>> 		- FFIPlugin
>>  		- FileCopyPlugin
>>  		- IntegerPokerPlugin (wasn't there anyway)
>>  		- Mpeg3Plugin
>>  		- TestOSAPlugin
>>  		- PrintJobPlugin 	(wasn't there anyway)
>>
>> VMMaker 'generate all' did not complete successfully.  The error  
>> is that 'String class>>ccgDeclareCForVar:' is not understood.
>>
>> Fair enough: image and platform source chosen randomly from middle  
>> of development cycle, and vmmaker not updated for 3.9.  All I care  
>> about is successfully building a VM, so I try something safer:
>>
>> Squeak3.8-6665 + subversion VMM38b4 branch + XCode 2.1 + MacOS 10.4
>> ===========================================================
>> Installed same packages in same order as above.
>> "Successfully" Generated VM
>> 	- all plugins internal, same exclusions as above
>> Gnuified the resulting source
>> Copied/unpacked from platforms/Mac OS/vm/Developer into same  
>> directory with platforms & src
>> 	- resources.sit
>> 	- SqueakVMForCarbon.pbproj.sit
>> 	- 3 Info-* files
>> Double-clicked on XCode project
>> 	- PROBLEM? I had to update the project because it was in an older  
>> format than used for XCode 2.1
>> 	- opening this project, no files were red (except missing build  
>> products) so I went ahead and tried to build
>> 		- 127 errors due to invalid option 'fix-and-continue' (assume  
>> this is due to the project format update)
>> 		- closed XCode
>> 		- opened 'SqueakVMForCarbon.xcodeproj/project.pbxproj' in text  
>> editor
>> 			- took out all lines with GCC_ENABLE_FIX_AND_CONTINUE
>> 	- opened project again, cleaned all targets, tried to build
>> 		- 123 errors: 'Command /usr/bin/gcc-3.3 failed with exit code 1'
>> 			- following file is a file, not a directory:
>> 			   'build/SqueakVMForCarbon.build/Development/Squeak VM OPT  
>> (Upgraded).build/Squeak VM Opt.hmap'
>> 			- said file is full of binary gobbledegook
>>
>>
>> This is where I'm stuck now.  Can anyone lend me a clue?
>>
>> Thanks,
>> Josh
>>
>>
>>
>
> --
> ====================================================================== 
> =====
> 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