We transfer an application from Ubuntu on a PC to EVM6472 in BIOS.
The build time is very long. We use thesoftware tools version 7.31.How to reduce the build time? The same application is built very fast on other platforms.
Your description of the problem doesn't have much detail. It is hard to know what to recommend. You may have this linker problem. Make sure you are not doing too much inlining. That can create very large functions which can take a long time to compile.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your question.The Compiler Wiki answers most common questions.Track an issue with SDOWP. Enter your bug id in the "Find Record ID" box.
Thank you for your answer. Yes, the code includes many inlining code. But the same code compiles very fast by a factor of 8 by similliar development systems.
The code is confiodential but we have an NDA with TI.
DO you want to take a look at it?
Dr. Yehuda SingerDO you want to take a look at it?
The problem is probably in how you build the code, and not the code itself. Thus, looking at the code is unlikely to be helpful.
Please disable all optimization and build again. Does that improve build time? If so, by how much?
I do not set any optimization. The size of the executable including debugging information is around 40MB.
If the softwaretools are based on GNU, why other GNU tools are much faster?
Are you using the TI compiler for C6000? If so, that compiler is not based on GNU.
I am using the software tools 7.31.
1. The basic options: 64+ --abi=eabi.
3. C files are considered as C++.
For one source file, please show me exactly how the compiler is invoked.
'Building file: ../SOURCE_FILES/RISC_CPU_FILES/pic.cpp''Invoking: C6000 Compiler'"C:/Program Files/Code Composer Studio/ccsv5/tools/compiler/c6000/bin/cl6x" -mv64+ --abi=eabi -g -O0 --extern_c_can_throw --exceptions
--rtti --cpp_default --gcc --define=SC_LITTLE_ENDIAN --define=SC_INCLUDE_FX --undefine=SC_MAX_NBITS --undefine=SC_FX_EXCLUDE_OTHER
--undefine=SC_LONG_64 --undefine=SC_ENABLE_OBSERVERS --undefine=WIN32 --undefine=SC_ENABLE_OBSERVERS --undefine=SC_BIG_ENDIAN
--undefine=PURIFY --include_path="C:/Program Files/Code Composer Studio/ccsv5/tools/compiler/c6000/include"
--include_path="C:/Program Files/Code Composer Studio/bios_6_32_05_54/packages"
--include_path="F:/TI demo Version 0.6/RISC_Demo_EVM6472_Version_0.65/SOURCE_FILES/systemc_2.2.1/src"
--include_path="F:/TI demo Version 0.6/RISC_Demo_EVM6472_Version_0.65/SOURCE_FILES/systemc_2.2.1" --display_error_number --diag_warning=225
--abi=eabi --preproc_with_compile --preproc_dependency="SOURCE_FILES/RISC_CPU_FILES/pic.pp" --obj_directory="SOURCE_FILES/RISC_CPU_FILES"
Thanks and best regards,
Please show the the contents of the file ./configPkg/compiler.opt. That file contains additional compiler options. I'm not sure what will be in it, but I doubt it will contain any clues as to why the build takes so long.
So, please supply one of your source files, preprocessed as described here. I'll try compiling it with a few compilers I have on hand. Presuming I also see a compile time difference, I'll file an issue in the SDOWP system.
1. Long build time.
2. LOng load time to EVM6472.
3. The entry "main" is not identified.
I don't know what is in that .zip file. CCSv5.1 and CCSv4 did not load any project from it. But this doesn't matter that much.
Because I don't want an entire project. Please send just one source file, preprocessed like this. That's all I need.
I don't know what went wrong, or how. But the last post is blank. I'm still waiting for a preprocessed source file to work with.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.