| | 2 | |
| | 3 | In this case it doesn't: |
| | 4 | |
| | 5 | echo "main(){}" | /tools/bin/gcc -x v -c - |
| | 6 | |
| | 7 | ignoring nonexistent directory "/tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/../../../../x86_64-unknown-linux-gnu/include" |
| | 8 | ignoring duplicate directory "/tools/include" |
| | 9 | #include "..." search starts here: |
| | 10 | #include <...> search starts here: |
| | 11 | /tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/include |
| | 12 | /tools/include |
| | 13 | /tools/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/include-fixed |
| | 14 | |
| | 15 | Now, with gmp installed in /usr/lib, mpfr and mpc will configure for the system gmp and should use the headers and libs in /usr but we can't be sure without looking at the configure logs. |