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.

Compiler/TMS320C6670: Cannot find preprocessed file produced by compiler

Part Number: TMS320C6670

Tool/software: TI C/C++ Compiler

Hello!

I wish to check preprocessed version of my source file. I follow instructions at http://processors.wiki.ti.com/index.php/Preprocess_Complex_Source_Code_for_Bug_Submissions#CCSv5.1_Method, so I have right clicked a source of interest, found Parser Preprocessing Options, ticked --preprocess_with_comment and --preprocess_with_compile, tried to build as selected file of interest, so whole project. Unfortunately, no *.pp file is produced nowhere under the project folder.

Options screen:

Build console output:

**** Build of configuration Debug for project  ****

"D:\\TI\\ccsv7\\utils\\bin\\gmake" -k -j 8 lte/lte_meas.obj -O 
 
'Building file: "******************src/lte/meas/lte_meas.c"'
'Invoking: C6000 Compiler'
"D:/TI/ccsv7/tools/compiler/c6000_7.4.23/bin/cl6x" -mv6600 --abi=eabi -O0 -ms0 -g --include_path="D:/TI/ccsv7/tools/compiler/c6000_7.4.23/include" --include_path="D:/TI/pdk_C6670_1_1_2_6/packages/ti/csl" --include_path="D:/TI/pdk_C6670_1_1_2_6/packages/ti/drv/pcie" --include_path="D:/TI/pdk_C6670_1_1_2_6/packages/ti/drv/cppi" --include_path="D:/TI/pdk_C6670_1_1_2_6/packages/ti/drv/qmss" --include_path="D:/TI/pdk_C6670_1_1_2_6/packages/ti/platform" --include_path="D:/TI/pdk_C6670_1_1_2_6/packages/ti/drv/fftc" --include_path="D:/TI/dsplib_c66x_3_4_0_0" --preproc_with_comment --preproc_with_compile --define=TC_PLATFORM_V_0_5 --define=_MTP300_ --define=_L2SRAM2_4_ --define=_LTE_ --define=_PCIE_MSI_ --define=_PCIE_BM_DMA_ --define=_FFT_WINDOW_COMPENSATION_ --define=_INTR_MASK_REG_NOT_IMPLEMENTED_ --define=_REBOOT_ENABLED_ --define=_USING_CAL_HEAP_ --define=_USING_MANUAL_HEAP_ --display_error_number --diag_warning=225 --obj_directory="lte" --cmd_file="configPkg/compiler.opt" "***************************/src/lte/meas/lte_meas.c"
"D:\*********************\Debug\configPkg\..\..\..\..\..\common\tester\dsp\..\..\baseband\dsp\fpga_ctrl.h", line 420: warning #36-D: #warn These are RX IQ cal control, update and match
"D:\*******************\src\lte\meas\..\tester\dsp\../../../../../tc_dspb/src/dsp_common/mtp300_intr.h", line 40: warning #36-D: #warn "Relocate this file and PCIe/Eth stuff to MTP300 common"
"D:/*******************/src/lte/meas/lte_meas.c", line 506: warning #225-D: function declared implicitly
"D:/*******************/src/lte/meas/lte_meas.c", line 456: warning #552-D: variable "filter" was set but never used
'Finished building: "D:/*********************/src/lte/meas/lte_meas.c"'
 

**** Build Finished ****

  • The preprocessed file is in the same directory as the corresponding source file.  In this case look for it next to ...

    D:/*********************/src/lte/meas/lte_meas.c

    I have never seen CCS put asterisks (*) in front of a file name.  I guess you changed it after you copied and pasted from the CCS build output.  Anyway, wherever that really is, under the CCS project directory or not, that is where the .pp file is.

    Thanks and regards,

    -George

  • Thank you, George!

    Indeed, it was next to the source. And sure, I zapped the path with asterisks by myself.

    The right thread subject should be "I could not find preprocessed output..."