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.

Unneccessary source file recompilation with every build

Hi,

I have a project in which some of the source files get recompiled with every debug run, irrespective if something changed to the project. This causes some delay in development, which is mildly annoying to say the least. Unnecessary recompilation does not seem to occur when its only a build.

I'm using CCS 5.3.0.00090  and its a non-DSP/BIOS project, with a mix of C and C++ source files.

Can someone perhaps provide me with some insight into this?

Regards

  Reinier

  • Hi Reinier,

    It would be good to see if we can reproduce this here.  WOuld you possibly be able to provide some further information on your steps/setup?

    I did a quick test and did not see a rebuild when entering debug.   What makes you believe that a rebuild is occurring?

    Best Regards,
    Lisa

  • Hi Reinier,

    just thought I would check for any updates/further information with your enquiry.

    Best Regards,
    Lisa

  • Hi Lisa,

    Sorry for only responding now, its been little hectic here the last couple of days.

    I'm unfortunately not allowed to provide you with the code for the project, so I am aware that it will be difficult for you to reproduce the problem on your side. What I can tell you is that our drivers are based upon the C6748 Starterware drivers, and its specifically a modified version of the UART driver that gets recompiled with every single debug session. With a normal build, this file would not recompile if there were no changes.

    Other than that, I can't see anything obvious that might cause it. Do you know what is suppose to causes a recompilation when running a debug session?

  • Hi Reinier,

    do you see this with unmodified examples as well?  Can you explain exactly at what point you see a rebuild and provide any further information?  What makes you think there is a rebuild?  If you are in a debug session and modify something and save it, that will trigger a message and possible rebuild/reload.  That should be about it.

    Best Regards,
    Lisa