Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Why doesn't (open source) compilers contain builtin funtionality for (shared) caching and reuse-fetching (using SHA1-hash of compiler-version, build-flags, target-platform and inputs) of executable output objects (ELF or COFF) similar to what ccache does and scons?

Many large software projects would benefit enormously in required build-disk-space and -time if this was present in, say GCC.

share|improve this question
1  
Because that's the job of a build system, not the job of a batch compiler? –  delnan Oct 2 '12 at 15:04
    
Take a look add Ada and gnatmake and you'll understand why this is important and why most build tools of today create unnecessary burdens for the developer when dealing with dependency checking. –  Nordlöw Oct 3 '12 at 9:06
    
Recompiling dependencies but nothing else is a nontrivial problem with some languages, yes, but I don't see anything in your proposal addressing that. –  delnan Oct 3 '12 at 11:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.