On 6 December 2011 14:07, Alfred von Campe wrote: > > I've tried messing with the order of things on the gcc command line to no avail. How > can I debug this further? The most basic step would be to add -v to the command line and inspect the output (it's not clear from your email if you've already done that.) That will show you any directories specified with -I which don't exist, and will show you the include paths being used: #include "..." search starts here: #include <...> search starts here: ...