|
In order to build an Intel® IPP application for an Intel® Itanium®-based system, you can generate a 64-bit application from either a 32-bit or 64-bit host system.
- Install the Microsoft* Platform SDK on both your host development machine and your target Intel Itanium-based system.
- In order to generate compile-time optimizations for Itanium target systems, you also need to install Intel® C++ Compiler for Itanium-based systems on your host development system.
For installation instructions and system requirements, please refer to Microsoft Platform SDK and Intel C++ Compiler for Windows* documentation for details.
The following lists the common approaches to build an Intel IPP application targeting Itanium-based system:
Option 1: 32-bit host system (compilation and link) and 64-bit target system (execution) using Microsoft Visual Studio*
By default, the Microsoft Visual C++* compiler or Intel C++ Compiler for IA-32 platforms is invoked when building a Visual Studio project. In order to specify a compiler for Itanium-based platforms, you must add the following to invoke the compiler:
- Click Configuration from Build » Add, type Release64 or Debug64 in Configuration.
- Highlight it from Set Active Project Configuration as your release module or debug module.
- In Project/Settings, go to C/C++ tab, choose Preprocessor from Category, add WIN64 in Preprocessor definitions.
- Add /machine:ia64, and remove options as /FD, /GZ and /ZI in Project Options.
- In Link's Project Options, also remove /pdbtype:sept, thus a compiler for Itanium-based platform is invoked.
- Modify project settings for using IPP:
- Go to Project » Settings » C/C++ » Preprocessor.
- Type the path to Intel IPP include directories in the Additional Include Directories box, by default installation, the path is located at C:\Program Files\Intel\IPP\5.x\itanium\include.
- Go to Project » Settings » Link » Input.
- Type ippxx64.lib in the Object/Library Modules box. For example, type ipps64.lib if you call signal processing functions from the dynamic libraries.
- Type the path to the Intel IPP stub libraries in the Additional Library Path box. For example, the default location is C:\Program Files\Intel\IPP\5.x\itanium\stublib
Build your application.
Export your .exe file to your target Itanium-based system, and please ensure the path to the Intel IPP binaries is added to the system environment.
Run your application.
Option 2: 64-bit system (compilation, link and execution)
On a 64-bit system, mostly you will use Makefile utility to built the project from a command line.
When editing your .mak file, choose the appropriate compiler: cl.exe (Microsoft C++ Compiler) or ecl.exe (Intel C++ Compiler) for the value of CPP, and choose the appropriate linker: link.exe (Microsoft C++ Compiler) or xilink.exe (Intel C++ Compiler) for the value of LINK32.
Please refer Microsoft documentation for more details on the makefile utility.
Operating System:
This applies to:
|