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.

Removing salient in Makefile.

Other Parts Discussed in Thread: SYSBIOS

Hi,

I have using CCS to compile my application.  Compilation is success and I want to understand the each step involved in compilation. 

During compilation it generates some intermediate makefiles but echo is off (i.e it is made as salient using @).   I want to disable this so that I can see each and every step of compilation.

How to remove salient mode?

CCS Version: CCS 5.5.0.

TI RTOS: tirtos_1_21_00_09.

Regards

Srinivasa

  • Hi,

    If I recall correctly, there is no control over the auto generated makefiles. However, the video below may help you viewing most of the details of the build process.

    Regards,

    Rafael

  • Hi,

    Above video tells me about build log and build log is same as console output. This does not have complete Makefile steps that I am looking for. Makefiles are autobuilt, if I edit it will be overwritten.

    Any way of getting the resolving this?

    Regards
    Srinivasa
  • Srinivasa,

    As I mentioned before, whatever the above video discusses is the most you are going to see with the most relevant information about the build output.

    One option is to increase the verbosity level of gmake (as mentioned here), but be warned this yields a lot of output information which I usually find not entirely useful (and may require you to increase the console build output).

    To do that, open the project options and edit the build command as below:

    Hope this helps,

    Rafael

  • desouza said:
    One option is to increase the verbosity level of gmake (as mentioned here), but be warned this yields a lot of output information which I usually find not entirely useful (and may require you to increase the console build output).

    I think the problem in this thread is that the makefiles generated by TI-RTOS (xdc) don't report the compiler command lines, in that you get lines of the following in the Console output:

    "C:\\ti_ccs6_1\\ccsv6\\utils\\bin\\gmake" -k all 
    making ../src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/Users/Mr_Halfword/workspace_v6_1/gpiointerrupt_TivaTM4C1294NCPDT/src/sysbios'
    clem4f C:/ti_ccs6_1/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages/ti/sysbios/BIOS.c ...
    asmem4f 

    The build command set in the CCS project properties doesn't affect the makefiles generated by TI-RTOS. The are some XDC "verbose" options, but I haven't yet found the one which causes the TI-RTOS makefiles to report the compiler command lines being used.

  • Srinivasa Wunnimani said:
    I want to disable this so that I can see each and every step of compilation.

    From looking at the build process for TI-RTOS based projects there are two changes involved to cause the makefile to report all commands in the CCS console:

    1) In CCS Project Properties -> Build -> XDCtools -> Advanced Options tick the "Show details during build (-v)" option.

    This causes the commands to process the .cfg file and build the generated source files to be reported.

    2) The intermediate generated makefiles which build the SYS-BIOS library source files are based upon a "template" makefile in <TI_RTOS_install_root>/tirtos_tivac_<version>/products/bios_<version>/packages/ti/sysbios/makefile.xdt

    To remove the salient "@" you can edit the makefile.xdt file in the SYS-BIOS installation to remove the leading "@" from the CC and ASM commands. This causes the generated makefiles to report the commands used.

    The disadvantage is you have to modify the SYS-BIOS installation. Perhaps the experts in the TI-RTOS forum can suggest a way to achieve the modification to the generate makefiles without having to modify the SYS-BIOS installation.

  • Very useful info and lot to digest.  Thank you all. 

    I think I don’t have access rights to move this to TI-RTOS forum.  Can anyone of you move this to TI-RTOS forum so that folks over there get notified about this.

    Regards

    Srinivasa

  • Srinivasa,

    I strongly suggest you to post a new question there and reference this one, as there is a stronger chance it will be picked up by the experts there.

    Regards,
    Rafael