I have been following tutorials for using SDL and have passed linker options to the global compiler and debugger settings. I was wondering whether the specified libraries would be linked if they weren't used in the project, such as if I were to write a program which didn't use the SDL libraries, would they still be linked?
Quote from: this_is_phil on October 06, 2008, 10:44:02 PM
which didn't use the SDL libraries, would they still be linked?
Depends on the linker. Most linker won't use the import library in that case. But: You
might get an error with duplicate/incompatible symbols (e.g. different "main" styles). So it's
always worth to keep your project setup clean.