This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Possible bug introduced during mkcheck.in split?
- To: rittle at rsch dot comm dot mot dot com
- Subject: Re: Possible bug introduced during mkcheck.in split?
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 29 Nov 2000 04:49:44 +0100
- Cc: libstdc++ at sources dot redhat dot com
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <200011290326.VAA90754@latour.rsch.comm.mot.com>
Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
[...]
| ... I have not investigated a fix yet.
This should cure your problem.
-- Gaby
Index: mkcheck.in
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/mkcheck.in,v
retrieving revision 1.42
diff -p -r1.42 mkcheck.in
*** mkcheck.in 2000/11/27 06:04:16 1.42
--- mkcheck.in 2000/11/29 03:48:14
*************** set `./tests_flags ${query} $*` || exit
*** 56,61 ****
--- 56,68 ----
BUILD_DIR=$1; SRC_DIR=$2; PREFIX_DIR=$3; LTCXX=$4; LIBS=$5; LTEXE=$6; CXX=$7; CXXFLAGS=$8;
IFS=$saved_ifs
+ # specific libtool flag(s) to force the use of shared libraries, if any
+ SH_FLAGS=
+
+ # specific libtool flag(s) to force the use of static libraries, if any
+ ST_FLAGS="-static"
+ #ST_FLAGS="-all-static"
+
# Set up the testing directory, which should be in a directory called
# "testsuite" in the root level of the build directory.
TEST_DIR="`pwd`/testsuite"
Index: tests_flags.in
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/tests_flags.in,v
retrieving revision 1.4
diff -p -r1.4 tests_flags.in
*** tests_flags.in 2000/11/28 09:34:07 1.4
--- tests_flags.in 2000/11/29 03:48:14
*************** esac
*** 146,158 ****
# but thst's really meant for building the library itself, not using it)
CXXFLAGS="-ggdb3 -DDEBUG_ASSERT @SECTION_FLAGS@ @SECTION_LDFLAGS@"
- # specific libtool flag(s) to force the use of shared libraries, if any
- SH_FLAGS=
-
- # specific libtool flag(s) to force the use of static libraries, if any
- ST_FLAGS="-static"
- #ST_FLAGS="-all-static"
-
# LTCXX == how to call libtool when creating an executable
# LIBS == any extra needed -l switches, etc (may need more libs, lose lose)
case ${query} in
--- 146,151 ----