This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Missing compiler for the TMS470_5.0.4 in my Code Composer Studio (5.4.0.00091) installation

Hello ,

This is my first post and first time with TI products(...well I once used the TMS320C30 back in the 90s ;-)

I just installed CCS. In my directory "C:\ti\ccsv5\tools\compiler", I do not have  a compier for the TMS470_5.0.4: I have an environment make file that requires this compilers

The installed set of compilers I have are:

arm_5.0.4
bin
c2000_6.1.3
c5400_4.2.0
c5500_4.4.1
c6000_7.4.2
dmed
gcc-arm-none-eabi-4_7-2012q4
msp430_4.1.5

What should I select during installation to get this compiler?

Colm

  • Hi Colm,

    The TMS470_x.y.z compiler nomenclature was changed to ARM_x.y.z.  Use ARM.

  • Hi Michael,

     

    Thanks for the reply. I installed the Linaro tools in

    c:/GNUToolsARMEmbedded/bin/arm-none-eabi

    I also made the nomenclature changes in the .mk file as you suggsted:

     I changed the env.mk contents  to the following

    # Cortex-M3
    CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/ti/ccsv5/tools/compiler/ARM_5.0.4
    # Cortex-M4
    CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/ti/ccsv5/tools/compiler/ARM_5.0.4
    # Cortex-A
    CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/ti/ccsv5/tools/compiler/ARM_5.0.4
    # DSP
    CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/ti/ccsv5/tools/compiler/c6000_7.4.2
    #Cortex A15
    # For Code Sourcery
    #CODEGEN_PATH_A15 = $(EXTERNAL_SW_ROOT)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI
    # For RVCT
    #CODEGEN_PATH_A15 = $(EXTERNAL_SW_ROOT)/ARM_Compiler_5
    #For Linaro
    CODEGEN_PATH_A15 = $(EXTERNAL_SW_ROOT)/GNUToolsARMEmbedded/bin/arm-none-eabi

     

    This allowed me do a full compilation , however at the link stage I got the error:

    >> ERROR: mklib: could not find program "sh", required for building libraries. 
    Modify the PATH environment variable to contain a directory containing this program.
    warning: automatic RTS selection:  resolving index library "libc.a" to
       "c:\ti\ccsv5\tools\compiler\ARM_5.0.4\lib\rtsv7A8_A_le_n_eabi.lib", but
       "c:\ti\ccsv5\tools\compiler\ARM_5.0.4\lib\rtsv7A8_A_le_n_eabi.lib" was not
       found
    warning: automatic RTS selection:  attempt to automatically link in index
       library "libc.a" failed; file not found
    error: no input section is linked in
    warning: entry-point symbol "_c_int00" undefined
    warning: no suitable entry-point found; setting to 0
    error: errors encountered during linking;
       "C:/starterware_01_00_01_15/starterware_01_00_01_15/binary/mailbox_app/bin/t
       i814x/mailbox_app_a8host_debug.xea8" not built
    gmake[1]: *** [C:/starterware_01_00_01_15/starterware_01_00_01_15/binary/mailbox_app/bin/ti814x/mailbox_app_a8host_debug.xea8] Error 1
    gmake[1]: Leaving directory `C:/starterware_01_00_01_15/starterware_01_00_01_15/examples/mailbox/mailbox_a15'
    gmake: *** [mailbox_app] Error 2

    I already have my path modified to included the path to the sh.rexe program which is in:

    C:\ti\ccsv5\utils\cygwin

     

    but for some reason mklib isnt aware of this.

     

    regards

     

    Colm

  • Hi Michael,

     I managed to get a build done with CCS 5.5 and updating all the paths.

    Now I have to build an app

    thanks for your help

    Colm