clinkeroperating-systemcompiler-optimization

Why it's important to separate compilation and linking processes in C?


I've been programming in C for a while and i wondered why is important to separate this processes (Compile and Linking)?

Can someone explain please?


Solution

  • It is useful in order to decrease rebuilt time. If you change just one source file - it is often no need to recompile whole project but only one or few files.