gmake[3]: Entering directory `/usr/local/scratch/obj/gcc-4.2/gcc' TARGET_CPU_DEFAULT="" \ HEADERS="auto-host.h ansidecl.h" DEFINES="USE_COLLECT2" \ /bin/sh ../../../src/gcc-4.2/gcc/mkconfig.sh config.h ../../../src/gcc-4.2/gcc/mkconfig.sh: test: unknown operator == gmake[3]: *** [cs-config.h] Error 1 This test only knows operator '=' # sh # bar=foo # test x"$bar" == baz ; echo $? test: unknown operator == # test x"$bar" = baz ; echo $? 1 # test x"$bar" = x"foo" ; echo $? 0
Created attachment 11411 [details] use operator '=' instead of '==' for test Bootstrap is still in progress, but a manual test suggests that this should fix it.
Confirmed.
2006-05-09 Bernhard Fischer <aldot@gcc.gnu.org> PR/27501 * mkconfig.sh: Use operator '=' for test This patch fixes the build failure on OSF5.1a, please apply.
Subject: Bug 27501 Author: aldot Date: Sun May 14 10:48:49 2006 New Revision: 113758 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113758 Log: 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org> PR 27501 * mkconfig.sh: Use operator = instead of == for test. Modified: trunk/gcc/ChangeLog trunk/gcc/mkconfig.sh
Fixed.