This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ can't locate iosfwd
2011/8/21 Maciej BliziÅski :
>
> My guess would be that the location of the header files is driven by
> the --prefix or --includedir setting. ÂIn my build the setting was:
>
> --prefix=/opt/csw/gcc4
> --includedir=/opt/csw/gcc4/include
>
> ...and other locations:
> --exec_prefix=/opt/csw/gcc4
> --bindir=/opt/csw/gcc4/bin
> --sbindir=/opt/csw/gcc4/sbin
> --libexecdir=/opt/csw/gcc4/libexec
> --datadir=/opt/csw/gcc4/share
> --sysconfdir=/etc/opt/csw/gcc4
> --sharedstatedir=/opt/csw/gcc4/share
> --localstatedir=/var/opt/csw/gcc4
> --libdir=/opt/csw/lib
> --infodir=/opt/csw/gcc4/share/info
> --mandir=/opt/csw/gcc4/share/man
>
> Are the above settings sensible?
Since most of them are redundant (e.g. includedir defaults to
PREFIX/include) why are you bothering to override them?