- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to understand how to adapt an existing application which currently uses libz.so to use libipp_z.so.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
"libipp_z.so" was built with statically linkage, so that all of IPP references (functions) are statically linked into the libipp_z.so.
so, if you link with libipp_z.so, you can just need to link with the library, and replace libz.so, it does not need to link with IPP libraries anymore.
If you choose to link with "libipp_z.a", you need both link with ""libipp_z.a", and related IPP data compress libraries.
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you know if there's a complete example somewhere which uses libipp_z.so?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It is right. It needs to link with OpenMP library.
there is a minigzip application, which can shows to use the ipp_zlib library:
interfaces/data-compression/ipp_zlib/src/minigzip.c
I just run the following linkage, and it can work:
>gcc -I /opt/intel/composerxe-2011.3.174/ipp/include/ -c minigzip.c
>g++ -o minigzip minigzip.o -lipp_z -L /opt/intel/composerxe-2011.3.174/compiler/lib/intel64/ -liomp5 -L/opt/intel/composerxe-2011.3.174/ipp/lib/intel64/ -lipps -lippdc -lippcore -lpthread
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page