Red Hat Bugzilla – Bug 23531
include search path
Last modified: 2005-10-31 17:00:50 EST
When running cpp -v I do get the following output:
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
End of search list.
Hm, I do understand why /usr/local/include is here,
but why /usr/i386-redhat-linux/include? Bug?
*** Bug 23532 has been marked as a duplicate of this bug. ***
I believe it's just how the compiler works. It tries
to look in $prefix/$host-$vendor-$os/include (probably for cross-compiling
situations or somesuch.)
Yes, that's how compiler worked for years, /usr/arch-vendor-os/include
is there for toolchain includes.