-
commond
`gcc -print-prog-name=cc1plus` -v
This command asks gcc which C++ preprocessor it is using, and then asks that preprocessor where it looks for includes.
-I dir_name
Add the directory dir_name
to the head of the list of direectories to be searched for header files.This can be used to override a system header file, substituting your own version, since these directories are searched before the system header file dirctories.