Where is the Mac VM that includes StarSqueak?

Stephane Ducasse ducasse at iam.unibe.ch
Tue Mar 20 08:32:13 UTC 2001


Great

thanks I like people teach me how to fish ;)

> Resent-date: Tue, 20 Mar 2001 04:00:07 +0000
> Date: Mon, 19 Mar 2001 23:00:46 -0500
> Resent-from: squeak at cs.uiuc.edu
> From: "Andrew C. Greenberg" <werdna at mucow.com>
> Subject: Re: Where is the Mac VM that includes StarSqueak?
> Resent-sender: squeak-request at cs.uiuc.edu
> X-Sender: werdna at mucow.com (Unverified)
> To: squeak at cs.uiuc.edu
> Resent-cc: recipient list not shown: ;
> Resent-message-id: <PHGO7D.A.VRF.GXtt6 at jerry.cs.uiuc.edu>
> MIME-version: 1.0
> Content-transfer-encoding: 7BIT
> X-Loop: squeak at cs.uiuc.edu
> X-Mailing-List: <squeak at cs.uiuc.edu> archive/latest/30955
> 
> >I looked on the FTP site and on the Swiki, but I couldn't find it.
> >
> >Peace and Luck!
> >
> >Je77
> 
> Several folk have commented to inquire where a plugin could be found. 
> On the theory that teaching someone to fish is superior to giving 
> someone a fish, I offer the following.  To build a plugin on a 
> Macintosh:
> 
> 	(1) Install MPW (or other suitable development system);
> 	(2) Translate the Plugin class to a C code file;
> 	(3) Generate the Plugin include files;
> 	(4) Compile and link the C code file to a Shared Library
> 	(5) Install the Shared Library
> 	(6) Confirm that the plugin is working
> 
> (1) Install MPW:
> 
> 	Go to http://developer.apple.com/tools/mpw-tools/, and 
> download the latest Golden Master from the ftp server.  Double-click 
> the disk image file to make a metadisk, and copy the MPW folder to 
> your hard disk.  [This takes a bit of doing with the current build. 
> I found that making the two top level directories and copying the 
> files inside those directories works OK.]
> 
> (2) Translate the Plugin class to a C code file;
> 
> 	Startup Squeak.  In a workspace, type and execute the DoIt:
> 
> 		StarSqueakPlugin translate
> 
> This will create a folder containing your plugin c-language file.
> 
> (3) Generate the Plugin include files;
> 
> 	Startup Squeak (if not already up).  In a workspace, type and 
> execute the DoIt:
> 
> 		InterpreterSupportCode writePluginSupportFiles
> 
> This will create a number of .h files in your default Squeak 
> directory.  Copy those files to the plugin folder.
> 
> (4) Compile and link the C code file to a Shared Library
> 
> 	Open MPW Shell.  From the Build Menu, select "Create Build 
> Commands..."  Click the "Source Files" button, navigate to the c file 
> in your plugin folder, and add it to the project.  Set the Program 
> Name to "StarSqueakPlugin."  In the Program Type options click on the 
> "Shared Library" radio button.  In the Target options, click on 
> "PowerPC Only"  If you are inclined to do so, click on the "General 
> Options" and select the optimize for speed option, but you don't have 
> to do that.  Then, click the CreateMake button.  Finally, from the 
> Build menu, select "Build..."
> 
> 	If all went well, the MPW directory should contain a file 
> entitled StarSqueakPlugin, your plugin shared library.
> 
> 	(5) Install the Shared Code Library.
> 
> 	Rename the StarSqueakPlugin folder to something else, and 
> copy the Shared Code Library to the default squeak folder.
> 

Stephane DUCASSE (ducasse at iam.unibe.ch) http://www.iam.unibe.ch/~ducasse/
"if you knew today was your last day on earth, what would you do 
different? ... especially if, by doing something different, today 
might not be your last day on earth" Calvin&Hobbes

University of Bern, Institut fuer informatik and Mathematik
IAM-SCG, 10 neubruckstrasse, CH-3012 Bern, Switzerland.






More information about the Squeak-dev mailing list