The default C++ headers install place

Kai Ruottu kai.ruottu@wippies.com
Fri Mar 27 09:19:00 GMT 2009


This has been changed recently but why?  The "Install" docs in
'gcc.gnu.org' however still says :

--with-gxx-include-dir=dirname
     Specify the installation directory for G++ header files. The default
     is prefix/include/c++/version.

Writing 'make install' in gcc-4.3.3 really didn't do this but put the
headers into '$prefix/$target/include/c++/$version' !  So they became
"target and version dependent" instead of the earlier "version
dependent". Only the '$prefix/include/c++/$version/$target' was that
target dependent in them...

So now one MUST specify the old default if one wants the build to
follow the documentation and the old learned convention :(




More information about the Gcc-help mailing list