Developer Guide

  • 2021.1
  • 11/03/2021
  • Public
Contents

Set Up Environment Variables

After installation of Intel® TCC Tools to start development, you should set up environment variables.
The variables include:
  • Default variables, such as PATH, CPATH, LIBRARY_PATH, LD_LIBRARY_PATH
  • Intel® TCC Tools specific variables, such as TCC_ROOT, TCC_CONFIG_PATH, TCC_TOOLS_PATH (used in instructions, scripts, and libraries)
Be sure to set up environment variables each time you open a new terminal.
The following step provides two options:
  1. Source the environment file
    setvars.sh
    to set up default variables, Intel® TCC Tools variables, and others:
    source <install_directory>/setvars.sh
    Or source the environment file in the
    tcc_tools
    directory to set up only default and Intel® TCC Tools variables:
    source <install_directory>/tcc_tools/latest/env/vars.sh
The following table contains descriptions of default and Intel® TCC Tools variables:
Variable Name
Description
TCC_ROOT
Path to root of Intel® TCC Tools
TCC_CONFIG_PATH
Path to
.tcc.config
for cache allocation library
TCC_TOOLS_PATH
Path to tools directory in ${TCC_ROOT}
PATH
Append ${TCC_ROOT}/bin to ${PATH}
CPATH
Append ${TCC_ROOT}/include to ${CPATH}
LIBRARY_PATH
Append ${TCC_ROOT}/lib64 to ${LIBRARY_PATH}
LD_LIBRARY_PATH
Append ${TCC_ROOT}/lib64 to ${LD_LIBRARY_PATH}

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.