You can display the full search paths with
g++ -print-search-dirsor you can find a specific header without writing a source file with something along the lines of
echo '#include <vector>' | g++ -x c++ -E - | grep '/vector"'You can display the full search paths with
g++ -print-search-dirsor you can find a specific header without writing a source file with something along the lines of
echo '#include <vector>' | g++ -x c++ -E - | grep '/vector"'