<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">On Wed, Jul 18, 2018, 12:18 PM Rafael Zalamena <<a href="mailto:rzalamena@opensourcerouting.org" target="_blank" rel="noreferrer">rzalamena@opensourcerouting.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Normally for quick tests I don't install binaries from source into my<br>
system anymore, I just run them inside the source tree.<br>
<br>
For example:<br>
zebra/zebra -d &<br>
bfdd/bfdd -d &<br>
<br>
The only downside is that it makes it harder to run `gdb`, since the<br>
file we are running is actually a shell script that sets the proper<br>
environment (e.g. library location in the source folder).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You should be able to run gdb like this:</div><div dir="auto"><pre style="">libtool --mode=execute gdb zebra/zebra</pre><pre style="">Details to be found at <a href="https://www.gnu.org/software/libtool/manual/html_node/Debugging-executables.html">https://www.gnu.org/software/libtool/manual/html_node/Debugging-executables.html</a></pre><pre style=""><br></pre><pre style="">All Best,</pre><pre style="">Chris</pre></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>