In compilation For c: echo | gcc -x c -E -Wp,-v - >/dev/null For c++: echo | gcc -x c++ -E -Wp,-v - >/dev/null
출처 : https://transang.me/library-path-in-gcc/