difference of g++ -v and g++ -print-search-dirs

view story

http://stackoverflow.com – While I wanted to add some library and header file to my default directory of g++, I feel confused. First I type gcc -v and I get the information as following: the mark area tell me the directory where header files are. However, I get confused when I type 'gcc -print-search-dirs', which should show the compiler's search path according to help file. Th information is: I feel confused with the Difference between the path show up from g++ -print-search-dirs, which are 3 categories (install, programs, libraries), and the path show up from the gcc -v There 2 reasons makes me confused. F (HowTos)