Instructions to build MATHLIB from source: 1. Clone MATHLIB from git://git.ti.com/ep-processor-libraries/mathlib.git Clone SWTOOLS from git://git.ti.com/ep-processor-libraries/swtools.git 2. Make sure following Proc-SDK components are installed: - SYSBIOS - XDC - Code Gen Tools - CCS 3. Setup following environment variables (exact version numbers may be different): export SYSBIOS_INSTALL_DIR="/bios_6_52_00_12" export XDC_INSTALL_DIR="/xdctools_3_50_03_33_core/" export XDCCGROOT="/ti-cgt-c6000_8.2.2" export CGTROOT="/ti-cgt-c6000_8.2.2" export C64PCODEGENTOOL="${CGTROOT}" export C674CODEGENTOOL="${CGTROOT}" export C66CODEGENTOOL="${CGTROOT}" export CCSVERSION="CCSV8" export CCS_INSTALL_DIR="/ccsv8" export SWTOOLS_INSTALL_DIR="" export SWTOOLS_PATH="/ti/mas/swtools" export MATHLIB_ROOT_DIR="" export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld" export PATH="${XDC_INSTALL_DIR}:${PATH}" export XDCPATH="${XDC_INSTALL_DIR}/packages;${SWTOOLS_INSTALL_DIR};${MATHLIB_ROOT_DIR};${SYSBIOS_INSTALL_DIR}/packages;" 4. Build SWTOOLS and then MATHLIB - Go to directory and issue command "xdc" - Go to directory /ti/mathlib and issue one of following commands: - xdc XDCARGS="c66x bundle" - xdc XDCARGS="c674x bundle"