which files to add to a Windows Squeak to make it run on Mac? Linux?

John M McIntosh johnmci at smalltalkconsulting.com
Thu Aug 2 15:38:07 UTC 2007


Ok, the current faster, better, bug fixed macintosh carbon vm is

"Squeak 3.8.18beta1U.app"

The 3.8.18 series contains the fixes from David T Lewis for clean  
32bit addressing.

Macintosh applications are known as a bundle, which is a directory  
that contains subdirectories which contain all the files,
executables,help files, resources etc to execute the application.    
At the top level os-x  uses dot-naming conventions to indicate what  
it is, then
the finder hides the fact it's a folder.  Larger Apple applications  
like iDVD might be 1GB in size since the bundle folder contains help  
files, examples, sound tracks, clips etc.

The key thing is that one can copy this single file looking thing  
between directories/computers and still have a workable application,  
versus having to run some
installer/deinstaller to move all the pieces about.

So
Squeak 3.8.18beta1U.app
which appears as a folder in unix or on windows has the convention  
that *.app is the application bundle.
The Squeak application bundle contains the executable, and supporting  
Squeak plugins, plus it can optionally contain the image/changes/ 
source file

FT2Plugin.bundle
which appears as a folder in unix or on windows has the convention  
that *.bundle is a bundle containing a static/shared library, we use  
these for plugins.


As Bert mentioned, for Sophie we are using the same model that Impara  
did for Plopp we actually stick the windows and linux VM executables  
and support files/dlls/scripts in the
Sophie.app directory since they are ignored by the macintosh.  Thus  
on the macintosh the user just sees the Sophie.app which double  
clicks. Then on windows or linux
he sees the Sophie.app folder which contains a bunch of things, one  
being the Sophie.exe for windows, and an Sophie.sh for Linux.  All  
the VM's then hunt in the macintosh resource application sub folder  
for the images/changes/source to use.


On Aug 2, 2007, at 5:51 AM, Edgar J. De Cleene wrote:

>
>
>
> El 8/2/07 9:19 AM, "Herbert König" <herbertkoenig at gmx.net> escribió:
>
>>
>> My problem is, having never seen a mac, I don't know which files to
>> copy. I don't know how to identify a Mac executable and what
>> additional files are necessary. I don't know if a Linux executable
>> needs to be in /usr/bin/.... and how to identify a Linux executable.
>>
>> And then how to create a link which starts the VM with that  
>> particular
>> image.
>>
>> It's funny how stupid I feel as soon as I'm leaving my known OS.
>
>
> No. I only recently add Windows and Umbuntu here, so many faced the
> different OS problem.
> For Mac Os, now you could choose of very different .
> The John VM for PPC and Intel machines could be found in his place.
> For Intel my last is  3.8.17b5, maybe he have newer.
> Also you could use the Unix VM machines , I have the PPC ones.
> You could use in any folder on Mac, but the best place is Applications
> folder, also the .sources files could be placed into Applications  
> folder.
> I do the automatic process for intall in Umbuntu.
> Now I waiting the repair of my clon box and can't be more useful to  
> you, I
> hope could be fixed this week end.
> If nobody help more, I very glad to be in IRC chat to assist you.
>
> Edgar

--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===





More information about the Squeak-dev mailing list