<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>How Daniel,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">   second attempt to avoid autocorrect ...<br></div><div><br>On Apr 29, 2017, at 9:08 AM, Daniel Drake <<a href="mailto:drake@endlessm.com">drake@endlessm.com</a>> wrote:<br><br></div><blockquote type="cite"><div><span></span><br><span>Hi Dave,</span><br><span></span><br><span>On Sat, Apr 29, 2017 at 9:58 AM, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:</span><br><blockquote type="cite"><span>I don't think that the camera plugin was ever made 64-bit clean. A bug report</span><br></blockquote><blockquote type="cite"><span>is at <a href="http://bugs.squeak.org/view.php?id=7816">http://bugs.squeak.org/view.php?id=7816</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>This would be a good project for an interested volunteer :-)</span><br></blockquote><span></span><br><span>I'm an interested volunteer, knowledgeable of 32 vs 64 bit challenges</span><br><span>but with no squeak-vm experience. Can you briefly provide some</span><br><span>direction of where to start here?</span><br></div></blockquote><div><br></div><div><span style="background-color: rgba(255, 255, 255, 0);">Hi Daniel,</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">this will get you started with building a tip VMMaker image:</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><a href="http://www.mirandabanda.org/cogblog/build-image/" style="background-color: rgba(255, 255, 255, 0);"><font color="#000000">http://www.mirandabanda.org/cogblog/build-image/</font></a><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">There is a glitch.  The scripts don't currently  download a vm for you but you can build your own in the context of the repository or you can download a vm from bintray or use the vm you're using now.  The script explains how to substitute a vm. </span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">There are workspaces in the image that describe how to generate sources.</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">If you look in the archives for the list you should find discussion of making sources 32-bit clean and using sqIntptr_t as the type for a parameter that takes a Smalltalk oop in both 32 and 64 bits.</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">It's likely that headers and support code that use int parameters have to be changed to use sqInt or sqIntptr_t, depending on whether they actually receive an oop or a pointer.  The issue being, as I'm sure you're aware, that Mac & Linux are LP64, whereas windows is LLP64.</span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><blockquote type="cite"><div><span></span><br><span>Are there any other plugins that have previously been made 64-bit</span><br><span>clean? (Maybe there is a similar example in svn history and I can find</span><br><span>some direction from that.)</span><br></div></blockquote><div><br></div>Yes.  If you build a 64-bit vm you can see the plugins that have been built.  As David said, many plugins had to have their glue code, typically defined in platforms/Cross/plugins/SomePlugin/SomePlugin.h, redefined to be usable in both 32 and 64 bits.  In the old days int was used for almost everything.  I think I'm correct in thinks my that we've rewritten all the used plugins.  <div><br></div><div>And welcome!  It's great to have another set of hands.  Thank you!<br><div><br><blockquote type="cite"><div><span></span><br><span>Thanks</span><br><span>Daniel</span><br></div></blockquote><br><div><span style="background-color: rgba(255, 255, 255, 0);"><br>_,,,^..^,,,_ (phone)</span></div></div></div></body></html>