This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++ can't locate iosfwd


Maciej BliziÅski <maciej@opencsw.org> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]