Hi,<div><br></div><div>I&#39;m confused how your two step plan works together.</div><div><br><div class="gmail_quote">On Thu, Oct 28, 2010 at 1:47 PM, Szilárd Páll <span dir="ltr">&lt;<a href="mailto:szilard.pall@cbr.su.se">szilard.pall@cbr.su.se</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<br>
1) works fine, but referring to file extensions/endings might not be<br>
general enough. Making it more general/robust would require rewriting<br>
the way external libraries are treated: instead of adding them with<br>
full path we&#39;d need to add -Lpath -llibname separately. However, this<br>
needs quite a bit more time than I have now...<br></blockquote><div><br></div><div>I&#39;m confused, is the later part ( -Lpath -llibname separately) part of the 2nd step below. Or not? Why does it take a lot of time?</div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
2) Should work with the target property LINK_SEARCH_END_STATIC which<br>
essentially puts a -Wl,-Bstatic (for gcc on Linux, but it&#39;s supposed<br>
to work on many platforms) at the end of the final link call argument<br>
list. </blockquote><div>If the later part of step 1 above has not been done, than how does it help to set &quot;-Wl,-Bstatic&quot;? Does it use the static version even when you specify the library file with the full path?</div>

<div><br></div><div>Roland</div></div><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>
</div>