Hi,
CCSv4 generates the makefile everytime even with incremental build. Is there a way to disable that in CCSv4 so that build time is reduced?
Kind regards,
one and zero
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.
Hi,
CCSv4 generates the makefile everytime even with incremental build. Is there a way to disable that in CCSv4 so that build time is reduced?
Kind regards,
one and zero
Question: Is this an eclipse restriction or CCS? I am using v5 and my make "hangs" until the makefile is generated which takes about 40 seconds or so. When I look at the makefile, there isn't too much there. This is a major irritant and it is going to be productivity issue for my team. Hopefully there will be some solution.
Could you please explain why this can not be controlled. Is it something to do with the "CDT Builder" or something in how my CCS v3 project was imported? I have a 100 files or so in my build. Seems like there would be some sort of dependency rule or something on the makefile generation. I can't believe this is an eclipse issue, what developer would put up with build time impacts for no good reason. Certainly there were no "delays" in builds in CCS v3. This is deal breaker issue for me.
My "hang" issue with the makefile generation is only in v5 and maybe related to this issue: Re: CCSv5 - Cannot run program
Jordon,
makefile generation is standard build flow in eclipse when CDT (C/C++ Development Tools) is used for projects where project manager is used(i.e. managed make). There does appear to be a performance issue that is CCSv5 specific. We are investigating this problem now. If you do not want to generate makefiles, then there is a way of disabling it and using a manually created makefile(i.e. standard make). However, in summary you need to edit the makefile yourself when you want to change a build option or add/remove source files. Below is a link to CDT FAQ describing project management in CDT and two different ways of creating projects. The document is based on older version of CDT than what is used in CCSv5 but concepts are still applicable.
http://wiki.eclipse.org/CDT/User/FAQ#C.2FC.2B.2B_Project_Creation
Martin
Martin,
I have upgraded to v5.1 and I still have the problem that the makefile generation takes a very long time (upwards of a minute). This does not occur in 4.2. Also still cannot build an individual file in v5. I can provide more details but I am not sure if it should continue on this thread or some other way. Again this issue for us is pretty much a non-start for an upgrade to v5.
Please let me know how we should proceed.
Thanks.
Hi Jordon,
Yes, the makefile-generation performance regression has been fixed in 5.1 M3 (build 5.1.0.03000). It is tracked by SDSCM00039652 Makefile generation performance regression.
- Baltasar