libstdc++-v3 configuration and check problems under hpux 10.20

John David Anglin
Mon Mar 5 11:23:00 GMT 2001

> > 2) mkcheck fails with an error (see below).
> > /xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/mkcheck: set: unknown option:  
> AFAIK, mkcheck is a bash-only shell-script.  In any case, this patch
> might help.  Please let me know if it fixes the problem.

No.  It didn't work.  The problem is the `-n' from the echo command near
the end of tests_flags.  This ends up in argument 1.  Here is one possible
method to fix the problem.  Since mkcheck is a bash script, we can use
bash for tests_flags as well.

J. David Anglin                        
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2001-03-05  John David Anglin  <>

	* Use bash rather sh to prevent `-n' in echo command
	from appearing in output.

---	Sat Mar  3 14:11:18 2001
+++	Mon Mar  5 14:13:15 2001
@@ -1,4 +1,4 @@
+#!/usr/bin/env bash
 # This script computes the various flags needed to run GNU C++ testsuites

More information about the Gcc-bugs mailing list