Hacker News new | ask | show | jobs
by cesarb 3185 days ago
> The compiler is also doing the linking in this case, being given the complete command line, and it very much knows all the "translation units" which will be present

Only in the static linking case. In the dynamic linking case, part of the linking is done by the linker called from the compiler, and part of the linking is done by the dynamic linker every time the program is executed.