<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/06/2014 12:08 PM, IOhannes m
zmölnig wrote:<br>
</div>
<blockquote cite="mid:53E252F5.4010602@iem.at" type="cite">
<pre wrap="">On 01/31/2014 09:47 PM, Jonathan Wilkes wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Btw-- I haven't tested this. I'd be a lot more likely to try out code
on Pd Vanilla 0.45 if someone could explain to me how to do incremental
builds. If I change a single line in g_text.c in 0.43 it only requires
a single "make" that takes about 3 seconds. Doing the same in 0.45
requires "make clean && make", unnecessarily rebuilding all of Pd.
</pre>
</blockquote>
<pre wrap="">
why?
</pre>
<blockquote type="cite">
<pre wrap="">Doing "make" in the src directory of 0.45 only rebuilds the things that
need to recompile, but it doesn't update the binary, which makes it
useless.
</pre>
</blockquote>
<pre wrap="">
how come?
it works fine here, and the binary is updated immediately.
but, then i don't know which "binary" you are talking about.
the actual "pd" binary produced by the autotools, will live in
".../src/pd" (as opposed to .../bin/pd produced by the "traditional"
makefile), maybe you just checked the wrong one?</pre>
</blockquote>
<br>
Let's do it:<br>
0) Download and untar pd-0.45-5 src from Miller's website, on Debian
Jessie 32-bit box<br>
1) ./autogen.sh<br>
2) ./configure<br>
3) make<br>
<br>
4) ./src/pd<br>
<br>
Oops...<br>
Error in startup script: couldn't read file
"/home/pd-0.45-5/src/tcl//pd-gui.tcl": no such file or directory<br>
<br>
Which-- as I already stated in an old thread-- requires me to do
this from the main pd directory:<br>
cp src/pd .<br>
<br>
Then run<br>
./pd<br>
<br>
Now it runs. Great!<br>
<br>
So now let's test an incremental change, adding this to clip_float
in x_arithmetic.c:<br>
post("clip floated!");<br>
<br>
And do<br>
make<br>
cp src/pd .<br>
./pd<br>
<br>
Hm. Don't see my change reflected when I click-drag [nbx]---[clip]<br>
<br>
Now I try this:<br>
make && make clean<br>
(eat a few cheese and crackers, check some email)<br>
<br>
Pd window printout area:<br>
clip floated!<br>
clip floated!<br>
clip floated!<br>
[etc.]<br>
<br>
So I don't get an updated binary in the src/ directory with "make",
and I do get an updated binary when doing "make && make
clean".<br>
<br>
-Jonathan<br>
<br>
<blockquote cite="mid:53E252F5.4010602@iem.at" type="cite">
<pre wrap="">
i'm very much in favour of the autotools, as they make the build-system
standards conformant. e.g. it's simple to inject *additional* FLAGS
(e.g. for security builds). that's whey it is used for the Debian packages.
gfmdsar
IOhannes
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
</body>
</html>