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.

CCSv5.1M9 - xdc (sys/bios .cfg) compilation take long time

Guru 10750 points
Other Parts Discussed in Thread: SYSBIOS

Hi,

Why does the XDC compilation takes long time,

Thanks,

HR

  • Whst's the version of SYSBIOS that you are using? What about XDCtools?

  • Hi Sasha,

    CCS5.1 M9 and bios_6_32_04_49, but it also takes long time with older versions,

    Thanks,

    HR

  • For that version of SYS/BIOS you should use the profile "release". If you are using any of "whole_program" profiles, the build takes a longer time. If you are already using "release", then verify that you are using XDCtools 3.22. Other than that, I don't know of anything else you could change in SYSBIOS and XDCtools settings that would speed up the build.

    BTW, how long is "long time"?

  • Hi Sasha,

    I want to use Debug in order to debug the SW at the final stages I will use the release Option, the XDC compilation take around 2-3Min on a Min module usage, Is there a way to set the XDC compilation on Release, is there a way to run Clean project without removing the XDC compilation?

    Thanks,

    HR

  • When you say that XDC compilation takes 2-3 minutes, is that from the beginning of the build until you get an executable, or you are talking only about the part of the build when the console displayes "configuring ..."? Either way, we haven't seen such a long build times for 'debug' or 'release' profiles. Are you using XDCtools or compilers installed on a network?
    You can try generating a trace output and post the complete content of the console as an attachment to your post. You do that by going to Project Properties->CCS Build->Environment. and add a new environment variable XDC_TRACE_ENABLE and set it to 'all'.

    HRi said:

    Is there a way to set the XDC compilation on Release, is there a way to run Clean project without removing the XDC compilation?

    The dialog box I posted in my previous post is where you select the profile for your configuration, and there you can choose 'debug' or 'release'.

    You can't clean your project without cleaning files generated by XDCtools, so each time you clean you will have to rebuild these files.