MATHLIB Build Process


Page Contents


CCS Build Process

Required Tools

The following tools are required to build MATHLIB using CCS (links provided). Download and install all tools to a single local (C:) directory, for example, c:\Program Files\Texas Instruments.

MATHLIB Build Tools
Tool Category Version Download
Code Generation Version 7.2.0 Download Link
Code Composer Studio (CCS) Version 4.2.3 Download Link

Note:
A "My.TI" account is required for download and can be registered at my.ti.com

Procedure for MATHLIB

The MATHLIB may be compiled with CCS following the procedure below:

  1. Open the CCSv4 application
  2. Import the MATHLIB project
  3. Modify install paths and settings in makefile if necessary
  4. Build the project

Note:
If the RMDIR utility in the makefile is not recognized, you may need to redefine it for a local utility.

Procedure for Individual Kernels

Any individual kernel within MATHLIB may be compiled and tested via CCS following the procedure below:

  1. Open the CCSv4 application
  2. Import the MATHLIB kernel project
  3. Use the Debug profile for debugging/modifing/optimizing kernels
  4. Build and test the project
  5. Build for release


Makefile Build Process

A GNU makefile is also provided for rebuilding MATHLIB via GNU make. This file is located in the packages/ti/mathlib folder. The makefile provides a list of all tools, common build utilities and build rules required for generating each MATHLIB kernel CCSv4 project and MATHLIB binary.

Required Tools

The following tools are required to build MATHLIB using GNU make (links provided). Download and install all tools to a single local (C:) directory, for example, c:\Program Files\Texas Instruments.

MATHLIB Build Tools
Tool Category Version Download
Code Generation Version 7.2.0 Download Link
Code Composer Studio (CCS) Version 4.2.3 Download Link
GNU Make External Tool

Note:
A "My.TI" account is required for download and can be registered at my.ti.com

Procedure for MATHLIB

The MATHLIB may be compiled using GNU make following the procedure below. Note that the first three items are followed by two options, either of which may be used to accomplish the goal.

  1. Add cygwin/bin to the environment PATH (Windows only)
  2. Correct the C6x_GEN_INSTALL_DIR path in the makefile (two options)
  3. Correct the MATHLIB_INSTALL_DIR path in the makefile (two options)
  4. Correct the CCS_INSTALL_DIR path in the makefile (two options)
  5. Build the library

Copyright 2012, Texas Instruments Incorporated