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,
I am building the executable outside Code Composer Studio. I am trying to use the dependency option (preproc_dependency or preproc_includes) of compiler to build the executable. Some of the files which I am referring is in the path with spaces (C:/Users/apadmana/AppData/Local/Temp/24664/ml_qQqq/w s/matlab/toolbox/target/supportpackages/tic2000/src/c28004xBoard_Realtime_Support.c). In the make file (C28x_Build.mk) I use transformed path for the same (C:/Users/apadmana/AppData/Local/Temp/24664/ml_qQqq/WS6813~1/matlab/toolbox/target/supportpackages/tic2000/src/c28004xBoard_Realtime_Support.c).
What is the solution for the above issues? I am not able to make use of dependency options to ensure the .obj files are properly generated and are updated based on updates for.c and .h files.
Compiler version used : ti-cgt-c2000_16.9.2.LTS
Thanks,
Aditya
Regarding ...
Aditya Padmanabha said:preproc_dependency option
I agree the compiler should not, in the preprocessor output, emit a path or file name with a space in it. Instead it should output what you call the transformed name. Note this article from MicroSoft on this topic uses terms like short 8.3 alias or short name. In those terms, if a long name ever has a space, the short name should be output instead. Thus, I filed CODEGEN-5623 in the SDOWP system to have this problem addressed. You are welcome to follow it with the SDOWP link below in my signature.
Regarding ...
Aditya Padmanabha said:preproc_includes option
The output from --preproc_includes is not intended to be used as input to make. It is intended as a debugging tool. If you don't understand just how some header file is included by some source file, you can look at this output to work that out.
Thanks and regards,
-George