[squeak-dev] managing the transition to 64-bit

Chris Muller asqueaker at gmail.com
Mon Dec 12 19:34:00 UTC 2016


I'm saying that the traditional way of installing a global VM, by
installing under /usr/local, cannot support dual 32 and 64-bit installation
because the directory name under "lib" is exactly the same for both
platforms.

Installing from cog_linux32x86_squeak.cog.spur_201608171728.tar.gz:

   /./products/cogspurlinuxht/lib/squeak/5.0-201608171728/squeak  "32-bit"

and from cog_linux64x64_squeak.cog.spur_201608171728.tar.gz:

  /./products/cogspur64linuxht/lib/squeak/5.0-201608171728/squeak  "64-bit!"

copying from the highlighted, down, to the traditional /usr/local
location makes that conflict.

I want to run the same version of each VM, so there will be no question if
disparity's arise during testing.  I'd like to have access to a global
"spur" (32-bit) and "spur64" commands.  Any advice for this Linux user is
appreciated, thx..

On Mon, Dec 12, 2016 at 12:55 PM, Levente Uzonyi <leves at caesar.elte.hu>
wrote:

> Do you mean that you want to make a single executable to run both 32-bit
> and 64-bit images?
> If so, you can make a script which reads the image version from the header
> and runs it with the corresponding VM.
> But I don't see why you would want to do that. :)
>
> Levente
>
>
> On Mon, 12 Dec 2016, Chris Muller wrote:
>
> I'm ready to make a push to migrate all my stuff to 64-bit, so this
>> means I need the ability to run either a 32-bit VM or a 64-bit VM, at
>> least for now.  Unfortunately, it appears each uses the same the VM
>> file directory structure, and so whichever one is installed last
>> stomps out the other.
>>
>> Eliot, you have unique names for VM versions, have you considered
>> inserting something to uniquefy the names to support co-existence of
>> 32 and 64-bit of the same VM version?  Or, does anyone have any best
>> practices to allow the co-existence of 32-bit with 64-bit VM?
>>
>> I'm not talking about the problem with the names of the executables
>> (scripts) all being "squeak".  I've already been renaming the shell
>> scripts from "squeak" to "cog" or "spur".  Now the problem between 32
>> and 64-bit is the "lib" directory they refer to -- they share the
>> exact same name.
>>
>> I still have a lot of 32-bit images around.  Does anyone have any
>> pointers on how best to manage both a 32-bit and 64-bit?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20161212/db486efa/attachment.html>


More information about the Squeak-dev mailing list