<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1419365060750_6508"><span id="yui_3_16_0_1_1419365060750_6507">For the objects which ship with Pd-Vanilla (and for some externals), there is no object-name.pd_linux.  Instead there's the main Pd binary which loads all the internal classes when Pd starts up.  (It's </span>named different things for pd, pd-l2ork, and pd-extended).</div><div dir="ltr" id="yui_3_16_0_1_1419365060750_6508"><span><br></span></div><div dir="ltr" id="yui_3_16_0_1_1419365060750_6508"><span id="yui_3_16_0_1_1419365060750_6588">All the externals in the libdir format will have a object-name.pd_linux for each class.  (The extension is different for OSX and Windows.)  But not all externals are in that format-- some have their own loaders and/or load multiple classes in one binary.</span></div><div dir="ltr" id="yui_3_16_0_1_1419365060750_6508"><span><br></span></div><div dir="ltr" id="yui_3_16_0_1_1419365060750_6508"><span>-Jonathan</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, December 23, 2014 2:56 PM, Jonghyun Kim <agitato816@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv4956437050"><div dir="ltr">I have an additional question. Where is the compiled binary file?<div><br></div><div>I found the source code of [metro] at x_time.c, and I would to know where is the compiled binary, <b>metro.pd_linux</b></div><div><b><br></b></div><div>I tried to find, but no result. Where is the <b>metro.pd_linux</b>?</div><div><br></div><div><div>akntk@umi:~$ sudo find / -name metro.pd_linux</div><div>akntk@umi:~$ <br></div></div><div><br></div><div>Thanks,</div><div>akntk</div></div><div class="yiv4956437050gmail_extra"><br><div class="yiv4956437050gmail_quote">On Wed, Dec 24, 2014 at 4:40 AM, Jonghyun Kim <span dir="ltr"><<a rel="nofollow" ymailto="mailto:agitato816@gmail.com" target="_blank" class="removed-link" href="">agitato816@gmail.com</a>></span> wrote:<br><blockquote class="yiv4956437050gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">thanks a lot!<div><br></div><div>Now I can find and study the code :)</div></div><div class="yiv4956437050gmail_extra"><br><div class="yiv4956437050gmail_quote"><div><div class="yiv4956437050h5">On Wed, Dec 24, 2014 at 4:23 AM, IOhannes m zmölnig <span dir="ltr"><<a rel="nofollow" ymailto="mailto:zmoelnig@iem.at" target="_blank" class="removed-link" href="">zmoelnig@iem.at</a>></span> wrote:<br></div></div><blockquote class="yiv4956437050gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="yiv4956437050h5"><span>On 12/23/2014 08:12 PM, Jonghyun Kim wrote:<br>
> thanks for the answer!<br>
><br>
> I tried to find with grep, but it doesn't work...<br>
><br>
</span>> *akntk@umi:~/Downloads/pd-0.46-4$ grep '"metro"' *.c*<br>
> *grep: *.c: No such file or directory*<br>
<br>
all C-source files (that's all of Pd without the GUI), lives in the<br>
"src" folder.<br>
<br>
zmoelnig@XXX:~$ cd ~/src/pd/src/<br>
zmoelnig@XXX:~/src/pd/src$ grep '"metro"' *.c<br>
<span>x_time.c:    metro_class = class_new(gensym("metro"),<br>
(t_newmethod)metro_new,<br>
</span>zmoelnig@XXX:~/src/pd/src$<br>
<br>
you could also use grep's "-r" flag to recursively search files in<br>
subdirectories, and the "-l" flag to only show the filename (and not the<br>
line containing the keyword).<br>
<br>
<br>
<br>
zmoelnig@XXX:~$ cd ~/src/pd/<br>
zmoelnig@XXX:~/src/pd$  $ grep -r -l '"metro"' .<br>
./doc/5.reference/timer-help.pd<br>
./doc/1.manual/x5.htm<br>
./src/x_time.c<br>
zmoelnig@XXX:~/src/pd$<br>
<br>
obviously there are more files containing "metro" in quotes.<br>
note that i now use '.' as the "file" to search (which means the current<br>
directory; as i do a recursive search, this will search all files in all<br>
subdirectories of the current dir).<br>
<br>
<br>
you might also want to have a look at the manpage of "grep" to learn<br>
more about it.<br>
<br>
$ man grep<br>
<br>
<br>
gfdsmr<br>
<span><font color="#888888">IOhannes<br>
<br>
</font></span><br></div></div><span class="yiv4956437050">_______________________________________________<br>
<a rel="nofollow" ymailto="mailto:Pd-list@lists.iem.at" target="_blank" class="removed-link" href="">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a rel="nofollow" target="_blank" class="removed-link" href="">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div></div><br>_______________________________________________<br><a ymailto="mailto:Pd-list@lists.iem.at" class="removed-link" href="">Pd-list@lists.iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a target="_blank" class="removed-link" href="">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></div>  </div> </div>  </div> </div></body></html>