libstdc++-v3 configuration and check problems under hpux 10.20
John David Anglin
dave@hiauly1.hia.nrc.ca
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.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2001-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
* tests_flags.in: Use bash rather sh to prevent `-n' in echo command
from appearing in output.
--- tests_flags.in.orig Sat Mar 3 14:11:18 2001
+++ tests_flags.in Mon Mar 5 14:13:15 2001
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
#
# This script computes the various flags needed to run GNU C++ testsuites
More information about the Gcc-bugs
mailing list