Maróy Ákos wrote: > Dear Kay & Andrew, > > Thank you for your detailed explanation of the sysroot concept. Indeed, > I'm using the system libraries from the Apple XCode package for this > purpose. > > It seems that there's an issue with the Mac OS X gcc build process, so > that it automagically ads $prefix after $sysroot in the include search > path. > > for example, I re-compiled gcc with prefix=/opt/i686-apple-darwin9 and > sysroot=/foo/bar, and now I get: > > $ /opt/i686-apple-darwin9/libexec/gcc/i686-apple-darwin9/4.0.1/cc1plus -v > ignoring nonexistent directory Please tell us how you configured the compiler. Andrew.