< Table Of Contents

Building Source Code

The specific building procedure is described in the readme.htm document in the root directory of each sample. Most common steps are described below.

Set up your build environment by creating an environment variable named IPPROOT that points to the root directory of your Intel IPP installation. For example, default opt/intel/compiler .

To build all samples, change your current directory to the root media samples directory and use shell script build*.sh[option].

By default, the shell script searches the last version of compiler (assuming that compiler is installed in the default directory). If you wish to use specific version of the Intel C/C++ compiler or GCC software, set an option for the shell script in accordance with the following table:

Options for Shell Scripts

Compiler

Option

Intel C++ Composer XE 2011 for Linux OS

icc120

Intel C++ Compiler 11.1 for Linux OS

icc111

GCC 4.x.x

gcc4

GCC 3.4.x

gcc3

After the successful build, the executable file is placed in the corresponding sample directory:

<install_dir>/ipp-samples/<sample-name>/bin/linux*_compiler ,

where compiler = icc111|icc120|gcc3|gcc4 .

Optimization Notice

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804


Submit feedback on this help topic

Copyright © 2008 - 2011, Intel Corporation. All rights reserved.