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 & Linker Invoke



Hi,

I was tring to find a place where I can type the commands to invoke the compiler or the linker. I am using code composer V5.1. I can see that many of the envokes can be choosen by entering the project properity. However, where exactly I can type them.

Regards

Nezar

  • Hi Nezar,

    You can modify the command-line pattern field to manually type in additional options:

    For example, if you wanted to type in an additional compiler option, you can enter it before the '${flags}' or after.

    You can do the same for command-line pattern for the linker options.

    Thanks

    ki

  • Dear Ki-Soo,

    May you give me an example I am tring to enter the following invokation into the line command pattern but it not building the file.

    --map_file=nezo.map

    It tried to enter it in different ways in the line pattern but no action. I know that I can type it directly in the .cmd file but I would like to do it from the line pattern.

    Thank you very much for your reply.

    Regards,

    Nezar

  • Nezar,

    Nezar Abou Qamar said:
    --map_file=nezo.map

    That option is a linker option. Make sure you are adding it to the command-line pattern for the linker and not the compiler.

    ki

  • I finally manged to invoke the linker by typing the following:

    ${command} ${flags} ${output_flag} ${output} ${inputs}--map_file=nezo.map

    The problem was that I was removing the "${command} ${flags} ${output_flag} ${output} ${inputs}" part. Thank you for your help

    Regards,

    Nezar