[Vm-dev] building on a mac

Ben Coman btc at openinworld.com
Wed Dec 16 01:44:49 UTC 2015


On Wed, Dec 16, 2015 at 9:27 AM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>
> Hi Robert,
>
>     first what's the rationale for building them internally?  The current SSL plugins are external and there are advantages to them being external.

Unikernels *may* require to static link everything.  That would be
easiest for a single compiled application, except since we need to
pass an image to the vm we may need a file system anyway, in which was
dynamic loading may be okay.  Except again (much later), if a VM can
request the image through the hypervisor from a backend driver, static
compilation may allow the file system drivers to be culled from the
unikernel.

cheers -ben

> Second, to build internal ones (on mac, in e.g. build.macos32x86/squeak.cog.spur) you must
> a) edit plugins.int to include the plugins and plugins.ext to exclude the plugins
> 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/*
> c) use miosvm to build the VM
>
>
> On Tue, Dec 15, 2015 at 4:27 PM, Robert Withers <robert.w.withers at gmail.com> wrote:
>>
>>
>> Yes, John, that’s great now. Thank you, I ran CocoaFast and tested Crypto and SecureSession. They pass (with perf tweaking).
>>
>> Now I would like to build with the cryptoPlugins internal. What should I do to build those?
>>
>> Robert
>>
>> On Dec 15, 2015, at 7:10 PM, John McIntosh <johnmci at smalltalkconsulting.com> wrote:
>>
>> Update your SVN tree
>>
>> /Cog/build.macos32x86/squeak.cog.spur
>>
>>
>> invoke
>> ./miosvm -A
>>
>>
>> Should build
>> CocoaAssert.app
>> CocoaDebug.app
>> CocoaFast.app
>>
>> in that directory.
>>
>>
>> On Tue, Dec 15, 2015 at 3:49 PM, Robert Withers <robert.w.withers at gmail.com> wrote:
>>>
>>>
>>> Thanks everyone. I used this approach and grabbed the cog source and build the vm. The problem is I don't know how to run it nor where it is.
>>>
>>> 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't know how to run an app. Could you point the way, please?
>>>
>>> robert
>>>
>>> On 12/15/2015 01:38 PM, johnmci at smalltalkconsulting.com wrote:
>>>
>>>
>>>
>>>
>>>
>>> You should be able to build the http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/platforms/iOS/vm/SqueakPureObjc.xcodeproj
>>>
>>> Using the current Mac OS and Xcode
>>>
>>> Otherwise for cog see
>>> http://squeakvm.org/cgi-bin/viewvc.cgi/squeak/branches/Cog/build.macos32x86/squeak.cog.spur/makeiosvm
>>>
>>>
>>>
>>> Sent from my iPhone
>>>
>>> On Dec 15, 2015, at 9:41 AM, Robert Withers <robert.w.withers at gmail.com> wrote:
>>>
>>> Is there a page describing how to setup xcode and gcc and build on a mac? thanks.
>>>
>>> --
>>> . .. .. ^,^ best, robert
>>>
>>>
>>> --
>>> . .. .. ^,^ best, robert
>>>
>>
>>
>>
>> --
>> ===========================================================================
>> John M. McIntosh. Corporate Smalltalk Consulting Ltd https://www.linkedin.com/in/smalltalk
>> ===========================================================================
>>
>>
>>
>
>
>
> --
> _,,,^..^,,,_
> best, Eliot
>


More information about the Vm-dev mailing list