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.
Tool/software: TI C/C++ Compiler
Hi Champs;
My customer complain our TMS570 project compiling time too long, the detail as below:
CCS and compiler condition:
CCS version:6.1.0
Compiler version: 5.0.4
Compiler option:
-mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -Ooff -g
--diag_warning=225 --diag_warning=16004 --display_error_number --diag_wrap=off --enum_type=packed -k --asm_listing
Linker Option
-mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -Ooff -g --diag_warning=225 --diag_warning=16004
--display_error_number --diag_wrap=off --enum_type=packed -k --asm_listing
-z --stack_size=0x1800 -m"TMS570_BASIC_Project.map" --heap_size=0x800
-i"C:/Program Files/Texas Instruments/TI ARM Code Generation Tools 5.0.4/lib"
-i"C:/Program Files/Texas Instruments/TI ARM Code Generation Tools 5.0.4/include"
--reread_libs --warn_sections --display_error_number --diag_wrap=off
--xml_link_info="TMS570_BASIC_Project_linkInfo.xml" --rom_model --be32
5.Customer already select “enable parallel build –Use optimal jobs(4)” option.
Issue:
The project with AUTOSAR ,OS,MCAL and application SW. When select “ Rebuild Project “ operation, will need around 50 minutes to finish TMS570 project compiling and generate the .out file. And most time are spend on the complier stage .
Customer has similar project which used Infineon TC23x, the project also with AUTOSAR ,OS ,MCAL and application SW, Use Tasking environment to rebuild project just need 10minutes.
Customer wish TI could help them to reduce the compiler time. Otherwise the SW development efficiency is too low compared with Infineon Tricore MCU.
Could anybody help to check anyway to reduce the compliing time?
Huihuang Chen said:Compiler version: 5.0.4
That version of the compiler is 5 years old. While I don't have the specifics right now, I know we have fixed some build time problems in the compiler since then. Is it practical for you to upgrade to a new compiler version? It would be ideal if you could upgrade to the most recent one, which is presently version 18.1.1.LTS. Please visit the page Code Generation Tools for TI processors and microcontrollers.
Thanks and regards,
-George
Huihuang Chen said:Could you advise any option or method to reduce the build time based on v5.0.4?
Unfortunately, I don't have any tips specific to the TI ARM compiler.
One general tip ... Avoid long functions. All other things being equal, long functions take longer to compile than short ones.
Try observing the build as it occurs. Perhaps one or two files take up most of the build time. If so, you could make a test case out of one of those files and submit it as described in the article How to Submit a Compiler Test Case. The version 5.0.x releases went inactive long ago, so even if we found a problem in the compiler, we couldn't fix it. But there is a reasonable chance we could tell you how to avoid it.
Thanks and regards,
-George