Libs Question

Hello, I am using code::blocks IDE and usually, when i compile lib(for example TinyXML) i get tinyxml.a(static lib file), and then i set in compile settings path to this *.a file. But i know some libs that doesn't require full path to the library file. For example FLTK, X11, SFML. I just input in settings fltk, sfml-graphics or X11. In compiler log it smt. like this : "g++ ... -lfltk -lx11 ..."(no path) So, How does it work?
man gcc wrote:
The only difference between using an -l option and specifying a file name is that -l surrounds library with lib and .a (or .so) and searches several directories.

The directories searched include several standard system directories plus any that you specify with -L.

Topic archived. No new replies allowed.