<br><br><div class="gmail_quote">2009/4/28 Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Denis Scherbakov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
HP-UX on PA-RISC uses *.sl or no extension (like libC.2 for PA-RISC 2.0)<br>
HP-UX on IA64 uses *.so naming like in Linux.<br>
<br>
</blockquote>
<br>
</div><a href="http://www.mainsoft.com/solutions/windows_to_hpipf.aspx" target="_blank">http://www.mainsoft.com/solutions/windows_to_hpipf.aspx</a><br>
<br>
&quot;&gt; Shared library naming convention<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The shared library naming convention on Itanium 2 is different than<br>
that of PA-RISC. On PA-RISC, general names for libraries, <a href="http://libxxx.sl" target="_blank">libxxx.sl</a>,<br>
are used, whereas on Itanium 2, the libraries are named libxxx.so.<br>
This will affect both build systems and all code that loads shared<br>
libraries at runtime (e.g. calls to dlopen() or shl_load() ). This<br>
might also affect other production scripts.<br>
</blockquote>
<br></blockquote><div>      As you told Bill it is correct about the library extension but when I build the code on itanium ia64 on hp machine cmake by default generates .sl extension for shared libraries. i think it does so because the cmake binary that is available for hp-ux is for PA-RISC not for itanium.</div>
<div><br></div><div>for the time being i get the .so extension for shared library by setting CMAKE_SHARED_LIBRARY_SUFFIX variable. </div><div><br></div><div>But i think either cmake itself identify the hp architecture as ia64 or PA-RISC and then build the shared library with proper extension or we should have different cmake binaries for itanium and PA_RISC..</div>
<div><br></div><div><br></div><div>ankit </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The change will have to go in Modules/Platform/HP-UX.cmake.   I think we should be able to check the CMAKE_HOST_SYSTEM_PROCESSOR variable.   If someone has access to one of these machines and can work out a patch, I can put it in CMake.  Even better, if someone has access to one of these machines, and can setup a nightly dashboard to make sure it stays working.<br>
<font color="#888888">
<br>
<br>
<br>
-Bill<br>
</font></blockquote></div><br>