[Vm-dev] Re: hacking a 3.9 VM

Klaus D. Witzel klaus.witzel at cobss.com
Sat Oct 7 06:18:52 UTC 2006


Hi Dave,

on Fri, 06 Oct 2006 22:28:02 +0200, you wrote:
> Andreas,
>
> Ok, I got this working finally -- I have a 3.8b4 VM.  I found a post on
> the web that mentions the last change for "getImageName" that I needed
> to make can be changed in Slang ... where do I find the slang?

You can replace the "getImageName()" call in Interpreter>>#snapshot: and  
in Interpreter>>#writeImageFile: by "imageName" without parentheses. The  
affected expressions are Mac-only (they are noop on win32), the  
replacement makes them compile error-free on win32.

/Klaus

>  I've
> looked around for a bit, and seem to be unable to locate it.
>
> Thanks for the assistance.
>
> -- dave
>
>
> -----Original Message-----
> From: vm-dev-bounces at lists.squeakfoundation.org
> [mailto:vm-dev-bounces at lists.squeakfoundation.org] On Behalf Of Andreas
> Raab
> Sent: Friday, October 06, 2006 12:44 PM
> To: Squeak Virtual Machine Development Discussion
> Subject: Re: [Vm-dev] hacking a 3.9 VM
>
> Did you go "by the book"?
>
> http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/win32/HowToBuild
> .txt?rev=1530
>
> If so, let me know what didn't work.
>
> Cheers,
>    - Andreas
>
> Raymer David-fdr017 wrote:
>>
>>
>>
>>
> ------------------------------------------------------------------------
>>
>> Gentlebeings,
>>
>>
>>
>> First off, I would like establish that I'm brand new to squeak - I'd
>> like to use it to develop some prototypes of my research work; and to
> do
>> that I'm going to have get into the depths of VM.  I seem to have
>> encountered my first Balrog ...
>>
>>
>>
>> I thought that I would start with building my own 3.9 VM (nothing like
>
>> putting something together to figure out how it works).  So I grabbed
>> the latest from SVN (after looking at the branches and tags, I did not
>
>> see a 3.9 "approved" fileset). I tried to build this ... and failed.
>>
>>
>>
>> So, I then tried using VMMaker 3.8b6, the 3.9g-7061 image, on a 3.7
> VM.
>> This gave me the files I was missing and after adding a few forward
>> declarations into the win32/vm fileset, I have that building.  Things
>> were going quite well until the B3DAcceleratorPlugin.  I seem to be
>> getting lots and lots and lots of "implicit function declarations" in
>> OpenGL and DX7 (d3) functions.
>>
>>
>>
>> Can someone throw me a bone on how to go about building a 3.9 VM for a
>
>> Win32 platform?
>>
>>
>>
>> Dave Raymer
>> Motorola Labs, NSR CoE, NIRL Autonomics Research
>> Distinguished Member of the Technical Staff
>> +1-(817)-245-6834
>>
>>
>>





More information about the Vm-dev mailing list