<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Hi All.<br><br>Please excuse any mistakes in terminology as I wrap my feeble mind around this stuff.<br><br>To my happy surprise, building a VM per http://wiki.squeak.org/squeak/6177 <br><br>&nbsp;&nbsp;&nbsp;&nbsp; 1. builds a standard 32 bit VM<br>&nbsp;&nbsp;&nbsp;&nbsp; 2. The 32 bit VM compiles to native 64 on linux: (ELF 64-bit LSB&nbsp; executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped)<br>&nbsp;&nbsp;&nbsp;&nbsp; 3. and powers a 32 bit Squeak4.x image.<br><br><p>(I think I stated that correctly)<br></p>The above runs perfectly on my pure-64 boot partition with no 32 bit compat libs..its a wonderful feeling.<br><br>What I would like to do next is get a 64 bit VM compiled to native 64 powering a 64 bit image (64x64x64) as that is my goal for StackInterpreter and then Cog going forward. (and then kernel mode, multi-processor ala roarVM...VAX...)<br><br>With the Squeak4.x build, cmake's configure --help provides a&nbsp;&nbsp;&nbsp;  --image64&nbsp; option that&nbsp; builds a VM for running 64-bit images.<br>That vm builds just fine, but I have not been able to find a compatible 64 bit image that it will run!<br>The instructions to create a 64 bit image using SystemTracer did not pan out (the instructions to file-in <tt>System-Tracing.1.cs</tt>         and <tt>All64BitChanges.1.cs</tt> don't apply as there is no All64BitChanges.1.cs to file in. I flailed a bit with the other files there, but gave up temporarily <br>) and scouring the bowels of the internet yielded no appropriate ready made image. I will return to this, but being lazy by nature--I turned to&nbsp; David's work at<a href="http://squeakvm.org/squeak64/sq64-20101106-dtl-sources-and-image.zip"> http://squeakvm.org/squeak64/sq64-20101106-dtl-sources-and-image.zip </a>hoping for an easy way out of this.<br><br>David's zip runs a Squeak3.8-gamma 64 bit image, but it is powered by a 32 bit VM (?) that is compiled to a native 64 bit executable. So, at this point we are 64x64x32--32 short of the goal.<br>So, I think, ok, compile a 64 bit VM to run the 64 bit image from the 64 bit image--easy-peasy,right?The build worked just fine, but I got the&nbsp; error from the FAQ that states <br><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><br><br><a name="9"><p>   If you try to run a 64-bit image with a VM built for 32-bit images, you will get   an error message such as this:   </p><blockquote>     This interpreter (vers. 6502) cannot read image file (vers. 68000).   </blockquote></a></div></blockquote> <a name="9"><blockquote></blockquote></a>where (vers. 6502) displayed as&nbsp; (vers. 0) when I tried to launch the original 64 bit image from which I had just created the vm.<br><br>The VMMakerTool on the 3.8 gamma does not have the 64 bit vm check box--or if it does, it is well hidden.<br>The CMake configure script for the 3.8 gamma does not support the --image64 option either.<br><br>So, I am thinking now, to "port" the Squeak3.8-gamma source tree to the squeak4.x Cmake configuration, but I really don't know if this is a valid approach.<br><br>If there is anything obvious that you see that I am missing, I would appreciate your advice on how to proceed. If not, I will keep poking away!<br><br>Thank you for your time<br><br>cordially,<br><br><br>tty.<br><br><br><br><br><br>Thanks for your time.<br><br>tty.<br><br></div></body></html>