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.

changing the compiler version used to build in CCS



Hi

I am using CCS Version: 5.5.0.00077.

I have an older project that was built using TI compiler 4.9.1.

I have changed the compiler version to 5.1.1 within CCS.

However, the subdir_rules.mk file still has 4.9.1 path in it. This can be seen when I try to build clean. NB. subdir_rules.mk is rebuilt each time.

Please can someone advise how to convince CCS to create the subdir_rules.mk file containing the reference to 5.1.1.

Thanks

Part of subdir_rules.mk

BMS_OS.obj: ../BMS_OS.c $(GEN_OPTS) $(GEN_SRCS)

@echo 'Building file: $<'

@echo 'Invoking: ARM Compiler'

"C:/ti/ccsv5/tools/compiler/tms470_4.9.1/bin/cl470" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/tms470_4.9.1/include" --gcc --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="BMS_OS.pp" $(GEN_OPTS__FLAG) "$<"

@echo 'Finished building: $<'

@echo ' '

Build Log

**** Build of configuration Debug for project BMS OS ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" all

'Building file: ../BMS_OS.c'

'Invoking: ARM Compiler'

"C:/ti/ccsv5/tools/compiler/tms470_4.9.1/bin/cl470" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/tms470_4.9.1/include" --gcc --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="BMS_OS.pp" "../BMS_OS.c"

The system cannot find the path specified.

gmake: *** [BMS_OS.obj] Error 1

**** Build Finished ****

  • Chris Anderson1 said:

    I have an older project that was built using TI compiler 4.9.1.

    I have changed the compiler version to 5.1.1 within CCS.

    However, the subdir_rules.mk file still has 4.9.1 path in it. This can be seen when I try to build clean. NB. subdir_rules.mk is rebuilt each time.

    Please can someone advise how to convince CCS to create the subdir_rules.mk file containing the reference to 5.1.1.

    Do you see the .ccsproject/.cproject files (which will be in the project root folder) update when you change the compiler version? In which folder is the compiler v5.1.1 installed?

    Is this issue specific to this project or do you find other projects have a similar issue as well? In other words, have you been able to modify the compiler version of any other project to 5.1.1 successfully?

  • Hi
    Thanks for replying
    The .ccsproject, .cproject and the .project files all are updated by a build.
    The content of .cproject refers to "TMS470_4.9.compiler"
    The compiler is in C:\ti\ccsv5\tools\compiler\arm_5.1.1
    I have tried another project with the same result.

    Thanks

  • Just to make sure I understand the issue: So the original project was set to use compiler version 4.9.1, (ie) the Eclipse project files contain references to 4.9 compiler. Now when you set it to use compiler version 5.1.1, are you saying that the .cproject, .ccsproject files do not update to reflect v5.1.1?

    If they do not, then there is likely a bug. Are you able to zip up and share the project with us so we can reproduce the issue? If the project is too large or cannot be shared, please send us all the project files (.cproject, .ccsproject, .project) and we will see if that is sufficient to be able to reproduce the issue.