This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ make check failure on sparc-sun-solaris2.8
- To: lucier at math dot purdue dot edu
- Subject: Re: g++ make check failure on sparc-sun-solaris2.8
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Sat, 31 Mar 2001 08:52:53 -0800
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200103311640.f2VGeqr21191@banach.math.purdue.edu>
On Sat, Mar 31, 2001 at 11:40:52AM -0500, lucier@math.purdue.edu wrote:
> I've managed to get 3.1 to build on sparc-sun-solaris2.8; now the
> g++ make check fails, perhaps because of Solaris's lame /bin/sh.
> Anyway, here is the entry from check.log:
...
> /export/home/lucier/gcc/objdir/sparc-sun-solaris2.8//libstdc++-v3/tests_flags:
test: unknown operator ==
== is a bashism. Try:
===================================================================
Index: libstdc++-v3/tests_flags.in
--- libstdc++-v3/tests_flags.in 2001/03/30 21:59:12 1.16
+++ libstdc++-v3/tests_flags.in 2001/03/31 16:52:41
@@ -108,7 +108,7 @@ case ${query} in
-I${SRC_DIR}/include/std -I${SRC_DIR}/include/$C_DIR
-I${SRC_DIR}/libsupc++ -I${SRC_DIR}/libio
-I${SRC_DIR}/testsuite"
- if test x@xcompiling@ == x1; then
+ if test x@xcompiling@ = x1; then
INCLUDES="${INCLUDES} -I${SRC_DIR}/../newlib/libc/include"
fi
;;
zw