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.

Customize .pp file creation

Hi,

I'd like to assemble command for invoking cl6x compiler (I'm using TMS320C6x C/C++ Compiler v6.1.11) for creation of preprocessed files, but with customization of output pp file name and its location.

I've tried, amongst others, scheme like this:

cl6x <-D macros> --gcc -g <-I include lists> --display_error_number -pdsr14 -pdsr770 -pdsw225 -pc -mv6740 --preinclude=<some header> --preproc_only <C-source filename>

However, the pp file is created in the same directory as the C-source file. I'd like to have an option to change both the location and name of the created preprocessed source file. I've tried the --pp_output_file but the compiler says it doesn't recognize it.

It might be sufficient for me to be able just to specify the target directory and alternative extension for the output pp file.

 

Any help will be appreciated,

 

Thanks in advance,

 

Wojciech Migda

  • Sorry but I do not see any options available in the C6x v6.1 tools that can help you with this problem.

    The C6x v7.2 tools (due out around the end of this year) will have an option --pp_directory which allows you to set the directory for preprocessor output.