<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 13, 2018 at 8:02 PM, K K Subbu <span dir="ltr"><<a href="mailto:kksubbu.ml@gmail.com" target="_blank">kksubbu.ml@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
Has anyone tried to build a plugin outside the vm tree?<br></blockquote><div><br></div><div>I've done this with external plugins. The idea was to compile it on the side to a dynamic library (Pharo VM) or a bundle (Squeak VM) and to copy that inside the VM plugin repository afterwards.</div><div> </div><div>Although in general I would recommend to use FFI over VM plugins, unless you need crazy call-backs that do not work with FFI.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In a VM build, how do I generate the necessary header files and libraries to be able to build plugins later outside the source tree?<br></blockquote><div><br></div><div>Not sure about that, some one else may answer... </div><div><br></div><div>The plugin I've dealt with were written in Slang and I could generate the C code (.h and .c file) using the same Smalltalk to C compilation process.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
TIA .. Subbu<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px">Clément Béra</span><div style="font-size:12.8px">Pharo consortium engineer</div><span style="color:rgb(0,0,238)"><a href="https://clementbera.github.io/" target="_blank">https://clementbera.github.io/</a></span><div style="font-size:12.8px"><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.com/</a><br></div><div style="font-size:12.8px"><span style="line-height:16px">Bâtiment B 40, avenue Halley 59650 </span><span style="font-weight:bold;line-height:16px">Villeneuve d'Ascq</span></div></div></div></div></div>
</div></div>