<div dir="ltr">Hi Ben,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 5:44 PM, Ben Coman <span dir="ltr">&lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On Wed, Dec 16, 2015 at 9:27 AM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Robert,<br>
&gt;<br>
&gt;     first what&#39;s the rationale for building them internally?  The current SSL plugins are external and there are advantages to them being external.<br>
<br>
</span>Unikernels *may* require to static link everything.  That would be<br>
easiest for a single compiled application, except since we need to<br>
pass an image to the vm we may need a file system anyway, in which was<br>
dynamic loading may be okay.  Except again (much later), if a VM can<br>
request the image through the hypervisor from a backend driver, static<br>
compilation may allow the file system drivers to be culled from the<br>
unikernel.<br></blockquote><div><br></div><div>Agreed, but unikernels have a different usage profile from normal VMs where we&#39;d like to maintain flexibility.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
cheers -ben<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Second, to build internal ones (on mac, in e.g. build.macos32x86/squeak.cog.spur) you must<br>
&gt; a) edit <a href="http://plugins.int" rel="noreferrer" target="_blank">plugins.int</a> to include the plugins and plugins.ext to exclude the plugins<br>
&gt; b) run Xcode on the SqueakCogSpur32x86.xcodeproj (open SqueakCogSpur32x86.xcodeproj), and add both the relevant generated code under src/plugins/*, and any support files from platforms/Cross/plugins/* or platforms/iOS/plugins/*<br>
&gt; c) use miosvm to build the VM<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Dec 15, 2015 at 4:27 PM, Robert Withers &lt;<a href="mailto:robert.w.withers@gmail.com">robert.w.withers@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Yes, John, that’s great now. Thank you, I ran CocoaFast and tested Crypto and SecureSession. They pass (with perf tweaking).<br>
&gt;&gt;<br>
&gt;&gt; Now I would like to build with the cryptoPlugins internal. What should I do to build those?<br>
&gt;&gt;<br>
&gt;&gt; Robert<br>
&gt;&gt;<br>
&gt;&gt; On Dec 15, 2015, at 7:10 PM, John McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Update your SVN tree<br>
&gt;&gt;<br>
&gt;&gt; /Cog/build.macos32x86/squeak.cog.spur<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; invoke<br>
&gt;&gt; ./miosvm -A<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Should build<br>
&gt;&gt; CocoaAssert.app<br>
&gt;&gt; CocoaDebug.app<br>
&gt;&gt; CocoaFast.app<br>
&gt;&gt;<br>
&gt;&gt; in that directory.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Dec 15, 2015 at 3:49 PM, Robert Withers &lt;<a href="mailto:robert.w.withers@gmail.com">robert.w.withers@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks everyone. I used this approach and grabbed the cog source and build the vm. The problem is I don&#39;t know how to run it nor where it is.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I then went into image and built a Spur image. I now want to run the CogSpur.app with that image to generate a vm, but once again I don&#39;t know how to run an app. Could you point the way, please?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; robert<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 12/15/2015 01:38 PM, <a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a> wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; You should be able to build the <a href="http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/platforms/iOS/vm/SqueakPureObjc.xcodeproj" rel="noreferrer" target="_blank">http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/platforms/iOS/vm/SqueakPureObjc.xcodeproj</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Using the current Mac OS and Xcode<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Otherwise for cog see<br>
&gt;&gt;&gt; <a href="http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/branches/Cog/build.macos32x86/squeak.cog.spur/makeiosvm" rel="noreferrer" target="_blank">http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/branches/Cog/build.macos32x86/squeak.cog.spur/makeiosvm</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sent from my iPhone<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Dec 15, 2015, at 9:41 AM, Robert Withers &lt;<a href="mailto:robert.w.withers@gmail.com">robert.w.withers@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is there a page describing how to setup xcode and gcc and build on a mac? thanks.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; . .. .. ^,^ best, robert<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; . .. .. ^,^ best, robert<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; ===========================================================================<br>
&gt;&gt; John M. McIntosh. Corporate Smalltalk Consulting Ltd <a href="https://www.linkedin.com/in/smalltalk" rel="noreferrer" target="_blank">https://www.linkedin.com/in/smalltalk</a><br>
&gt;&gt; ===========================================================================<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; _,,,^..^,,,_<br>
&gt; best, Eliot<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>