<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 15, 2017 at 4:38 AM, LacaK <span dir="ltr"><<a href="mailto:lacak@zoznam.sk" target="_blank">lacak@zoznam.sk</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_8877726692560976469gmail-m_1754832702919847721gmail-">
I forgot a question, could you send your ippi .a files for us? If so, I can try a test here. :-)<br>
</span></blockquote>
<br>
Yes of course: I have uploaded them here <a href="http://uschovna.zoznam.sk/download?code=1342688547227-EZyyeVzToDVVkkbJNCbN" rel="noreferrer" target="_blank">http://uschovna.zoznam.sk/down<wbr>load?code=1342688547227-EZyyeV<wbr>zToDVVkkbJNCbN</a><br>
But be aware of that I am on Windows, not Linux (Despite this I have added to ZIP also .a files as they are installed by Intel into direcotry "Linux". In direcory "Windows" are installed only .lib files).<br>
If I can repeat my question: Can I use ".a" libraries also on Windows ? If not can I use ".lib" created by C/C++ (I do not know how they are build)<br>
Thank you<div class="m_8877726692560976469gmail-m_1754832702919847721gmail-HOEnZb"><div class="m_8877726692560976469gmail-m_1754832702919847721gmail-h5"><br>
-Laco.</div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div style="font-size:12.8px">Unfortunately you can't use the static libraries <span style="font-size:12.8px">(.a)</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">of Intel because they are generated for Linux, in spite of static libraries be cross-platform.</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm not sure about the .lib files. MS's COFF files adopt the .lib extension, but it is a little bit strange these sizes below:<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">`libippi.a`:</div><div style="font-size:12.8px">. original - 251 MB;</div><div style="font-size:12.8px">. striped - 192 MB.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>`libippi.lib`:</div><div>. original - 853 KB;</div><div>. striped - no strip needed, it is already small.</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Huge difference, so I'm not sure if the .lib are really COFF files (even the owns MS COFF style). I tried to convert it to OMF (the .obj for testing on Delphi, because I don't know if FPC supports OMF) via the VS LIB.EXE tool and I didn't have success. The .obj was generated, but it doesn't work because it was generated with only the library "interface", so I'm suspecting the `libippi.lib` requires external libraries, something like other .libs or .dlls, because 853 KB is a very small size for the same library that requires 250 MB on Linux... you need to check about it at Intel support (or trying it in C or C++ just to check if these .lib files are really OK).<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Anyway, I'm on Linux and I did this test below, it worked fine (just sharing it, but I know you need it on Windows :-) ):</div><div style="font-size:12.8px"><font face="monospace, monospace" size="1"><br></font></div><div style="font-size:12.8px"><div><span style="font-family:monospace,monospace;font-size:x-small">type</span><br></div><div><font face="monospace, monospace" size="1">  cchar = AnsiChar;</font></div><div><font face="monospace, monospace" size="1">  Pcchar = PAnsiChar;</font></div><div><font face="monospace, monospace" size="1">  cint = Int32;</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">  IppLibraryVersionPtr = ^IppLibraryVersion;</font></div><div><font face="monospace, monospace" size="1">  IppLibraryVersion = record</font></div><div><font face="monospace, monospace" size="1">    major: cint;</font></div><div><font face="monospace, monospace" size="1">    minor: cint;</font></div><div><font face="monospace, monospace" size="1">    majorBuild: cint;</font></div><div><font face="monospace, monospace" size="1">    build: cint;</font></div><div><font face="monospace, monospace" size="1">    targetCpu: packed array [0 .. 3] of cchar;</font></div><div><font face="monospace, monospace" size="1">    Name: Pcchar;</font></div><div><font face="monospace, monospace" size="1">    Version: Pcchar;</font></div><div><font face="monospace, monospace" size="1">    BuildDate: Pcchar;</font></div><div><font face="monospace, monospace" size="1">  end;</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">function ippGetLibVersion: IppLibraryVersionPtr; cdecl; external;</font></div><div><font face="monospace, monospace" size="1">{$LINKLIB  ippcore.a}</font></div><div><font face="monospace, monospace" size="1">{$LINKLIB ippi.a}</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">var</font></div><div><font face="monospace, monospace" size="1">  ver: IppLibraryVersionPtr;</font></div><div><font face="monospace, monospace" size="1">begin</font></div><div><font face="monospace, monospace" size="1">  ver := ippGetLibVersion;</font></div><div><font face="monospace, monospace" size="1">  writeln(ver^.Version);</font></div><div><font face="monospace, monospace" size="1">end.</font></div></div><div style="font-size:12.8px"><font face="monospace, monospace" size="1"><br></font></div><div style="font-size:12.8px"><font face="monospace, monospace" size="1">// result: 2017.0.2 (r54644)</font></div><div style="font-size:12.8px"><br></div></div>-- <br><div class="m_8877726692560976469gmail-m_1754832702919847721gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div>
</div></div>