<div dir="ltr"><div>Considering this should be a drop in replacement for the expr family, a clash wouldn't actually be problematic if we can define which one is preferred, though I'm not sure if that is possible so maybe I'll just stick with the "jit" prefix.<br><br></div>I'll test out -lib later on my linux machine.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 21, 2018 at 9:43 AM, Lucas Cordiviola <span dir="ltr"><<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div text="#000000" bgcolor="#FFFFFF">
<p>I'm not sure but -lib might also work on linux.<br>
</p><span class="">
<pre class="m_4737658233094110672moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
</span><div><div class="h5"><div class="m_4737658233094110672moz-cite-prefix">On 2/21/2018 2:39 PM, Alex wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">[declare -lib jit_expr] worked on my osx machine.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 21, 2018 at 9:27 AM, Lucas Cordiviola <span dir="ltr">
<<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Can you try on you osx [declare -lib jit_expr] or [declare -lib full/path/to/jit_expr]?</p>
<p>I'm not sure if -stdlib is currently covering the .../documents/pd/externals/* on all platforms.</p>
<p>see <a href="https://puredata.info/docs/faq/how-do-i-install-externals-and-help-files" target="_blank">
https://puredata.info/docs/faq<wbr>/how-do-i-install-externals-<wbr>and-help-files</a> for the paths that -stdlib covers.<br>
</p>
<p>there's a discussion here : <a href="https://github.com/pure-data/pure-data/pull/205" target="_blank">
https://github.com/pure-data/p<wbr>ure-data/pull/205</a><br>
</p>
<p>---<br>
</p>
<p>I think there will be no name clashes if you keep your [jit_expr] naming. If you use [expr] it will clash with Pd's [expr].</p>
<p><br>
</p>
<p><br>
</p>
<p>--<br>
</p>
<pre class="m_4737658233094110672m_-8363813289571867610moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<div>
<div class="m_4737658233094110672h5">
<div class="m_4737658233094110672m_-8363813289571867610moz-cite-prefix">On 2/21/2018 1:50 PM, Alex wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="m_4737658233094110672h5">
<div dir="ltr">
<div>I have an external I've created that I've put into: /Users/alex/Documents/Pd/exter<wbr>nals/jit_expr/<br>
</div>
the binary is called "jit_expr.pd_darwin"<br>
<div>
<div><br>
xnor-work:~/projects/perfect/c<wbr>enter$ ls /Users/alex/Documents/Pd/exter<wbr>nals/jit_expr/<br>
LICENSE-parser     LICENSE-pd         LICENSE-xnor       jit_expr-help.pd   jit_expr.pd_darwin<br>
<br>
</div>
<div>In the binary, the externals themselves are named "jit/expr" "jit/expr~" and "jit/fexpr~"<br>
</div>
<br>
On my work, osX machine, when I [declare -stdlib jit_expr] I then fail to create [jit/expr]<br>
</div>
<div>
<div>On my home, linux machine, where my external folder is located at /home/alex/.local/lib/pd/exter<wbr>nals/jit_expr and appropriately named jit_expr.pd_linux<br>
</div>
<div>I succeed to create [jit/expr] after [declare -stdlib jit_expr]<br>
<br>
</div>
<div>Is this a bug am I not following some naming convention that I should be?<br>
<br>
</div>
<div>I could see wanting to put my external in a folder called "jit" and then naming them "expr", "expr~" etc but I could imagine "jit" is more likely to collide and so "jit_expr" seemed more reasonable.<br>
</div>
<div>maybe I should just call the whole thing "jit_expr", and just call the objects "expr" etc without the prefix in the code and then be able to create [jit_expr/expr] with no declare because it'll be in the stdlib already?<br>
</div>
<div>Am I confusing conventions that exist for single binary libraries with multiple objects and binaries with only one?<br>
</div>
<div><br>
</div>
<div>Either way, should I file a bug that the behavior isn't the same on osx and linux?<br>
<br>
</div>
<div>thanks,<br>
</div>
<div>Alex<br>
</div>
</div>
</div>
<br>
<fieldset class="m_4737658233094110672m_-8363813289571867610mimeAttachmentHeader"></fieldset> <br>
</div>
</div>
<pre>______________________________<wbr>_________________
Pd-dev mailing list
<a class="m_4737658233094110672m_-8363813289571867610moz-txt-link-abbreviated" href="mailto:Pd-dev@lists.iem.at" target="_blank">Pd-dev@lists.iem.at</a>
<a class="m_4737658233094110672m_-8363813289571867610moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-dev" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-dev</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>

</blockquote></div><br></div>