<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Ben,<div class=""><br class=""></div><div class="">Can you check this</div><div class=""><br class=""></div><div class=""><a href="https://github.com/pharo-project/opensmalltalk-vm/pull/16" class="">https://github.com/pharo-project/opensmalltalk-vm/pull/16</a></div><div class=""><br class=""></div><div class="">?</div><div class=""><br class=""></div><div class="">the idea is that at configuration time you say what flavour of vm you want </div><div class=""><br class=""></div><div class=""><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 11.9px; margin-bottom: 0px; margin-top: 0px; overflow-wrap: normal; background-color: rgb(246, 248, 250); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; line-height: 1.45; overflow: auto; padding: 16px; word-break: normal; color: rgb(36, 41, 46); font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">cmake -DFLAVOUR=StackVM <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">.</span></pre><div class=""><br class=""></div><div class="">and by default we build a cog vm</div><div><br class=""><blockquote type="cite" class=""><div class="">El 30 ago 2019, a las 13:25, Ben Coman <<a href="mailto:btc@openinworld.com" class="">btc@openinworld.com</a>> escribió:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">How can I build the StackInterpreter with the Pharo Headless build?<div class=""><br class=""></div><div class="">I tried... 

-DCOG_JIT:BOOL="False"  </div><div class="">but get the message... [CMake] CMake Warning: Manually-specified variables were not used by the project:  COG_JIT  </div><div class=""><div class=""><br class=""></div><div class="">The following with the new binary doesn't distinguish it for me...</div><div class="">$ build/vm/pharo --version my.image</div><div class="">Pharo 8.1.0 built on Aug 30 2019 18:06:20 Compiler: 7.4.0<br class="">Built from: acaeef692 - Commit: acaeef692 - Date: 2019-08-28 22:49:49 +0800<br class=""></div><div class=""><br class=""></div><div class="">Is there anyway to check that a particular binary is a StackInterpreter?</div><div class="">Can this be added to "--version" ?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Here is the full log...</div><div class="">Found cmake executable at /usr/bin/cmake.<br class="">1> /usr/bin/cmake -G "Unix Makefiles"  -DCMAKE_BUILD_TYPE="Debug" -DCOG_JIT:BOOL="False"  -DCMAKE_INSTALL_PREFIX="/mnt/c/Users/Ben/Source/Repos/opensmalltalk-vm/out/install/WSL-Debug" "/mnt/c/Users/Ben/Source/Repos/opensmalltalk-vm/CMakeLists.txt";<br class="">1> [CMake] -- acaeef692 - Commit: acaeef692 - Date: 2019-08-28 22:49:49 +0800<br class="">1> [CMake] -- int 4<br class="">1> [CMake] -- long 8<br class="">1> [CMake] -- long long 8<br class="">1> [CMake] -- void* 8<br class="">1> [CMake] -- C Compiler: /usr/bin/cc<br class="">1> [CMake] -- C++ Compiler: /usr/bin/c++<br class="">1> [CMake] -- Resource Compiler: <br class="">1> [CMake] -- Adding plugin: SecurityPlugin<br class="">1> [CMake] -- Adding plugin: FilePlugin<br class="">1> [CMake] -- Adding plugin: FileAttributesPlugin<br class="">1> [CMake] -- Adding plugin: UUIDPlugin<br class="">1> [CMake] -- Adding plugin: SocketPlugin<br class="">1> [CMake] -- Adding plugin: SurfacePlugin<br class="">1> [CMake] -- Adding plugin: LargeIntegers<br class="">1> [CMake] -- Adding plugin: JPEGReaderPlugin<br class="">1> [CMake] -- Adding plugin: JPEGReadWriter2Plugin<br class="">1> [CMake] -- Adding plugin: MiscPrimitivePlugin<br class="">1> [CMake] -- Adding plugin: B2DPlugin<br class="">1> [CMake] -- Adding plugin: LocalePlugin<br class="">1> [CMake] -- Adding plugin: SqueakSSL<br class="">1> [CMake] -- Adding plugin: DSAPrims<br class="">1> [CMake] -- Adding plugin: UnixOSProcessPlugin<br class="">1> [CMake] Adding third-party libraries for linux: pthreadedPlugin-0.0.1<br class="">1> [CMake] Adding third-party libraries for linux: libffi-3.3-rc0<br class="">1> [CMake] Adding third-party libraries for linux: libgit2-0.25.1<br class="">1> [CMake] Adding third-party libraries for linux: libssh2-1.7.0<br class="">1> [CMake] Adding third-party libraries for linux: openssl-1.0.2q<br class="">1> [CMake] Adding third-party libraries for linux: SDL2-2.0.7<br class="">1> [CMake] -- Configuring done<br class="">1> [CMake] -- Generating done<br class="">1> [CMake] CMake Warning:<br class="">1> [CMake]   Manually-specified variables were not used by the project:<br class="">1> [CMake]     COG_JIT<br class="">1> [CMake] -- Build files have been written to: /mnt/c/Users/Ben/Source/Repos/opensmalltalk-vm/out/build/WSL-Debug<br class="">1> Starting CMake target info extraction ...<br class="">1> CMake server connection made.<br class="">1> Extracted includes paths.<br class="">1> Extracted CMake variables.<br class="">1> Extracted source files and headers.<br class="">1> Extracted global settings.<br class="">1> Extracted code model.<br class="">1> Collating data ...<br class="">1> Warning: CMake 3.11 or newer is required for install target integration<br class="">1> Target info extraction done.<br class="">1> CMake generation finished.<br class=""></div></div><div class=""><br class=""></div><div class="">cheers -ben</div><div class=""><br class=""></div><div class="">P.S. btw, the -DCOG_JIT:BOOL="False" </div><div class="">comes from first trying-the-simplest-thing of  unticking "COG_JIT" in this Visual Studio configuration dialog... </div><div class=""><div class=""><div class=""><span id="cid:ii_jzxy9n5z1"><image.png></span><br class=""></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>