There are over 130 .c files I need to compile on a full build. Considering CCS requires me to do a full build every time I restart CCS or add a new file to the project, I have long loathed the process of the full build, as it has thus far taken about a minute and a half each time. (I can literally count the files getting compiled one by one in the console output)
Now I have upgraded to CCS 5.2, and discovered that parallel build is available as an option now. I don't recall seeing it before, for some reason, even though I've spotted google searches showing parallel build going as far back as v4. Maybe it wasn't an option for this compiler until now, or something.
So, naturally, I enabled it. It shaves almost 30 seconds off of the process, and I have it down to 56 seconds now. I can't help but notice several lines in a row, one of each for each of the files that it goes through, that it prints out in bulk at each step, that I think are holding it up.
In other words, my console looks like this, except with dozens of files at a time instead of just 2.
'Building file: c:/bleh/such_and_such.c'
'Building file: c:/bleh/some_other_thing.c'
'Invoking: ARM Compiler'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/tms470_4.9.5/bin/cl470" --and then it goes on to list each and every one of the switches, include dirs, etc.
"C:/ti/ccsv5/tools/compiler/tms470_4.9.5/bin/cl470" --etc
'Finished building: c:/bleh/such_and_such.c'
'Finished building: c:/bleh/some_other_thing.c'
'' (blank line except for the single quotes)
'' (blank line except for the single quotes)
Each of the lines are printed out at a fairly steady rate, and the build does not proceed to the next batch of files until they are all done printing out. So, I figure this is costing me another 20-30 seconds of time in each build.
Is this massive amount of printing absolutely necessary? Is it the cause of why it still takes so long to complete a build?
Don't take this the wrong way, but I have seen compilers do this same amount of compilation for other processors in about 10 seconds, so I'm just assuming there is something going wrong that I can change a setting to correct. If I can save 20-30 more seconds every time I have to restart CCS or do a full build (once or twice a day), I figure over the next 5 years I'd save 8-12 hours total, so I'd really appreciate any ideas on how to cut this down.
Thanks!