<div dir="ltr"><div><div><div>Hello again,<br><br></div><span id="result_box" class="" lang="en"><span class="">Sometimes we don't have control on external libraries compilation and we don't </span></span><span id="result_box" class="" lang="en"><span class="">know</span> <span class="">which compiler</span> <span class="">was used to</span> <span class="">generate</span></span> external libraries<br><br>now my questions is,<span id="result_box" class="" lang="en"><span class=""> Is there a</span> CMake-<span class="">standard</span>-<span class="">way to proceed</span> <span class="">in these cases?<br><br></span></span><span id="result_box" class="" lang="en"><span class="">What is</span> <span class="">the best</span> <span class="">way to specify</span> <span class="">dependencies</span> <span class="">depending on the</span> <span class="">compiler</span><span>?</span></span><br><br></div>Thanks in advance.<br><br></div>Víctor.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-20 12:57 GMT+02:00 victor sv <span dir="ltr"><<a href="mailto:victorsv@gmail.com" target="_blank">victorsv@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Ok  Nils,<br><br></div>thanks for your help :)<br><br></div>Best regards,<br></div>Víctor.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-04-20 12:33 GMT+02:00 Nils Gladitz <span dir="ltr"><<a href="mailto:nilsgladitz@gmail.com" target="_blank">nilsgladitz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 04/20/2015 12:28 PM, victor sv wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
After googling and reading this:<br>
<br>
<a href="http://www.opal-rt.com/kb-article/undefined-reference-intel-fast-memset-build-error-related-rte-delay" target="_blank">http://www.opal-rt.com/kb-article/undefined-reference-intel-fast-memset-build-error-related-rte-delay</a><br>
<br>
I try to link against libirc.a and libimf.a and it works fine. I do<br>
other test compiling a shared METIS library with Intel compilers and it<br>
works too.<br>
<br>
There is something that I'm not well understanding ... If I build a<br></span>
static library, even with Intel compilers,shouldn't this library contain<br>
all the needed symbols?<br>
</blockquote>
<br>
A static library is basically a container of object files.<br>
Library dependencies are normally neither included within that container nor are they recorded.<span><font color="#888888"><br>
<br>
Nils<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>