Maciej Bliziński <maciej@xxxxxxxxxxx> writes: > Interestingly, it looks like the include files are found underneath > what was probably configured as libdir (PREFIX/lib). In my build, > I've defined prefix to /opt/csw/gcc4, but I have set libdir to > /opt/csw/lib. How does gcc get the idea to search > /opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.3.3/../../../../include/c++/4.3.3 > for the include files? Is it defined in a file such as config.h? Look for unlibsubdir and libsubdir_to_prefix in gcc/Makefile.in. Ian