Current GCC mainline (4.1.0 20050318) install libstdc++ headers at FreeBSD 5.3 in <gcc-dir>/include/c++/const/ dir instead <gcc-dir>/include/c++/4.1.0/ I think problem related to last GCC version generation changes. I build and install without this problem GCC 4.1.0 20050313 Vladimir
We know about this.
See: <http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01697.html> and follow ups.
*** Bug 20555 has been marked as a duplicate of this bug. ***
Fixed by: 2005-03-21 Zack Weinberg <zack@codesourcery.com> * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic. (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version} is expanded by the Makefiles, not by configure. * fragment.am: Set gcc_version. * libmath/Makefile.am: Likewise. * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in * testsuite/Makefile.in: Regenerate. etc.