I think a smart linker = one that will not link in code or data that is not used. I used to use the library technique to accomplish this with Borland products because their linker would link in the entire object file. Essentially I would put each and every function in their own cpp file and then compiled them into a library. Then the linker would link in the functions a program uses, but none of the ones it doesn't.
So my question is, what other C compilers for DOS could just do this automatically. Did gcc call this whole program optimization or something similar?
So my question is, what other C compilers for DOS could just do this automatically. Did gcc call this whole program optimization or something similar?