This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: V3 PATCH to aclocal.m4
- To: Jason Merrill <jason_merrill at redhat dot com>
- Subject: Re: V3 PATCH to aclocal.m4
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 23 Aug 2001 11:21:17 -0700 (PDT)
- cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org
A couple of problems here Sir Jason
1) aclocal is autogenerated. Patch acinclude.m4
2) there is only one file that need the backwards includes for building,
and it has a special rule just so we don't have to cart around backwards
includes for everything.
see src/Makefile.am
# Use special rules for the deprecated source files so that they find
# deprecated include files.
GLIBCPP_INCLUDE_DIR=@glibcpp_builddir@/include
strstream.lo: strstream.cc
$(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
strstream.o: strstream.cc
$(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
3) testsuite_flags.in is what is used to export includes for non-library
use, like say the g++ testsuite. Perhaps you need this modified:
--build-includes)
INCLUDES="-nostdinc++ @GLIBCPP_INCLUDES@
-I${SRC_DIR}/libsupc++ -I${SRC_DIR}/libio
-I${SRC_DIR}/testsuite -I${BUILD_DIR}/testsuite"
echo ${INCLUDES}
Perhaps you could explain the problem you've found? I strongly encourage
the use of standards-conformant headers in the g++ testsuite, if this is
the issue.
-benjamin