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.

[CCS IDE v8.3.1] default compiler options are applied when compiling?

Other Parts Discussed in Thread: RM44L520

Hi, everyone.

Device: RM44L520, CCS v8.3.1, Compiler v18.1.8.LTS

Purpose: Options (use case for tool qualification) selection

Question:

1. Among the options defined as default in the compiler options, are the options not displayed in the flags set applied at compile time? 

Example, default of --symdebug:dwarf_version is 3 by user guide, but is not specifies separately in build option, and is not displayed in "Summary of flags set".

In this case, default options is applied when compiling? (-g option is used)

The other options that not shown in the (Compiler option summary) window (e.g. --c89, --float_operations_allowed=all, --relaxed_ansi, --opt_for_speed=1, etc) operates as default value? 

2. Currently, we are checking compiler options according to the ToolDefinition document for ARM CGT v18.1.8.LTS tool qualification.

I want to organize the compiler options for coverage analysis request. When sending compiler option information along with coverage files, do I need to send default option information above as well?

In addition, among the options defined in "ToolDefinition.pdf" v1.2 Table 6.2 (SAFETI-COMPILER-QUALIFICATION-KIT-1_1_2-ARM_18.1.exe),

what do the options not found in SPNU151R and SPNU118U mean? (e.g. --keep_unneeded_statics, -no_inlining, etc)

Regards.

  • Unfortunately, the expert on the compiler qualification kit is out today.  I hope it is OK if we reply by tomorrow or the next day.

    Thanks and regards,

    -George

  • Jiung Kim,

    For submitting qkit coverage, please just copy/paste the compiler/linker options from the CCS dialog “Summary of flags set” for “ARM Compiler” and “ARM Linker”.  Those options will be the same as shown in console for command line compile/link.

    CCS projects have certain compiler options explicitly set (eg: from project xml files or user inputs).  Those options are the ones shown in above summary (and shown on cmd line console output).

    In addition to above explicitly set compiler/linker options, additional options are then set by the compiler tools by default (based on the options that were explicitly set).  CCS then queries the compiler to determine the values of those default options. CCS options dialog will then populate the default settings so that it is clear to users.

    Regards,
    Greg

  • Thanks for confirmation