linker settings and search directories

Hello, I have a question:
When you keep unnecesary search directories in your compiler settings, do they add to the size of your program, or do they make it inefficient in any way?

Also what about having unnecesary entries under in linker options, such as
-lSDL_image
-lSDL_ttf
-lSDL_mixer
-lcurldl
which may not be relevant to your project.
Is it bad practice to keep them there?
I guess having unnecessary search directories can slow down compilation somewhat because it has to search more directories.

Unnecessary linker options will not affect the final code as far as I know. Only bad thing I can think about it is if you distribute your code and to others and they have to install libraries that are not even used just to compile your code.
Yes that's a point. I don't know much about that side of things. Will that happen for sure(will they have to install all the dlls that you have included) or is that just a guess?
It depends on how you distribute it. If you are just giving away the executable you just have to send the DLL files together with the executable and it should work.
Sure, Cheers for your help =)
Topic archived. No new replies allowed.