In order to figure out the default paths used by gcc
/g++
, as well as their priorities, you need to examine the output of the following commands:
- For C:
gcc -xc -E -v -
- For C++:
gcc -xc++ -E -v -
The credit goes to Qt Creator team.
In order to figure out the default paths used by gcc
/g++
, as well as their priorities, you need to examine the output of the following commands:
gcc -xc -E -v -
gcc -xc++ -E -v -
The credit goes to Qt Creator team.