{"id":237,"date":"2014-04-17T16:18:59","date_gmt":"2014-04-18T00:18:59","guid":{"rendered":"http:\/\/www.mirandabanda.org\/cogblog\/?page_id=237"},"modified":"2016-09-22T13:16:30","modified_gmt":"2016-09-22T21:16:30","slug":"compiling-the-vm","status":"publish","type":"page","link":"http:\/\/www.mirandabanda.org\/cogblog\/compiling-the-vm\/","title":{"rendered":"Compiling the VM"},"content":{"rendered":"<p>These instructions apply to the Cog branch of the Squeak VM project, the Pharo VM and the Newspeak VM.<\/p>\n<p>To build the VM check-out the Cog sources from github, e.g.:<\/p>\n<pre>$ git clone http:\/\/www.github.com\/OpenSmalltalk\/opensmalltalk-vm oscogvm\r\n $ cd .\/oscogvm<\/pre>\n<p>Then read the various HowToBuild files in the build.<OS><BPW><PROCESSOR> directories (e.g. build.macos64x64):<\/p>\n<pre>$ find build.* -name .git -prune -o \\( -name HowToBuild \\)<\/pre>\n<p>Currently the VM is built on Mac OS X 10.9.x using Xcode 6.x or 7.x and clang, on Linux using gcc 4.1.2 and on Windows using Cygwin 5.1 and gcc 3.4.4.<\/p>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKbDS1y8vL9fLzSxKzEtJTAIRevlF6frJ+elJOfnpAA==\" \/><input type=\"hidden\" name=\"blogName\" value=\"c85PV3DKyU8HAA==\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"MzI2BwA=\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"c87PLcjMycxLVyjJSFUI8wUA\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"yygpKbDS1y8vL9fLzSxKzEtJTAIRevlF6frJ+elJOfkgOrcgMyczL123JCNVtyxXHwA=\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"S0zJzcwDAA==\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwNNE1MNE1NFcwNLMyMLEytQQA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"VVHLbtswELwH6D\/MIYeksKi6dR00EHSIUaCHpjKioMkhF5qmJdYSl+XDSv6+FKW0DXggdma4O7MsTHnfSiehtPM2CK9IO3Bjuhd4gm8lNtRgZ7kWLeiQkPp3kPyIn7cwln5J4RcJ3rbc0ohyvU\/ADzk4MylZkZvyrIjTCLugukkQtaKV4phR8H9nOQpWSIeDpR6N8m3YLSBZw67nHlaW5yMB0ZGWaL0313k+DAOb1ExQn1dG6rrnXed5d8wpVu61yk49yAlqTv27M5xD7MHyGYgjYvtktJUaVvLJ6YlbRcHhGw33dJMCHFQXXSqd+JSJFVVdFjfbh7LY3lWbr3Vd3ZXYKxtXRFZF9cWYYxb3XJBbr57Xq8s3yQ4qrm+SvEemeS8xBkNmbIhxM8LTxYz\/5+bp8p\/1TbBWaj9+4bRk5VJDD9K45QJVjUcsP7Av7BnBKd3gUdBeYh1rsriK1\/iHouO6WYyPvisdXqWNEFixJfuYNJF8iIZpcDO9eWmGuJTPbJn4Uf2JreJJGf8A\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\" rel=\"nofollow\"><img src=\"http:\/\/www.mirandabanda.org\/cogblog\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/pdf_32x32.png\" alt=\"\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"<p>These instructions apply to the Cog branch of the Squeak VM project, the Pharo VM and the Newspeak VM. To build the VM check-out the Cog sources from github, e.g.: $ git clone http:\/\/www.github.com\/OpenSmalltalk\/opensmalltalk-vm oscogvm $ cd .\/oscogvm Then read the various HowToBuild files in the build. directories (e.g. build.macos64x64): $ find build.* -name .git [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/pages\/237"}],"collection":[{"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":5,"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/pages\/237\/revisions"}],"predecessor-version":[{"id":239,"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/pages\/237\/revisions\/239"}],"wp:attachment":[{"href":"http:\/\/www.mirandabanda.org\/cogblog\/wp-json\/wp\/v2\/media?parent=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}