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.

-ppd flag on linear/scheduled assembly

I was trying to use the -ppd flag to the c6000 codegen version 7.2.4 in order to generate dependencies for make.  After "cleaning up" with SED, it works fine for C files.  When substituting a linear or scheduled assembly file in place of the C file, dependencies are not generated for a .include directive. 

Is there another way to use the TI toolchain to generate dependancies for assembly .include directives?

Are there plans to support -ppd with .include in a future version of the tools?

  • John,

    The options -apd (--asm_dependency) and -api (--asm_includes) can be used with assembly source files to generate a file with assembly dependencies or included files respectively. The options are documented in the C6000 Compiler Users Guide.

    Currently the -ppd option does not work on assembly source files. There is a enhancement request to add this support but I'm not sure if this will be implemented in the near term.

  • I am able to get useful output using -apd + a sed script.

    When running -apd with a linear assembly file, it seems to actually assemble the file.  No .obj is produced, but a .asm is produced (since I have a -k on the command line).

    Is there a way to tell it generate the output for -apd but not otherwise try to assemble the file?

    Otherwise, the -apd is sufficient and am not requesting -ppd.

     

     

  • John Dowdal said:

    Is there a way to tell it generate the output for -apd but not otherwise try to assemble the file?

    The only way I know is to remove the -k option.