PATCH: Use ${SHELL} to run testsuite_flags in libstdc++-v3

Aaron W. LaFramboise aaronavay62@aaronwl.com
Wed Mar 30 13:29:00 GMT 2005


Somehow, the last time I did CVS update, CVS lost the execute permission
on some of the files in libstdc++-v3/scripts, causing bootstrap to later
fail here:

Making all in testsuite
/aaronwl/cs/env/mingw-head/20050330/build/gcc/i686-pc-mingw32/libstdc++-v3/scripts/testsuite_flags:
not found
...
DHAVE_CONFIG_H      -g -O2 -c -o testsuite_abi.o
/aaronwl/cs/compilers/gcc/src/cvs/head/gcc/libstdc++-v3/testsuite/testsuite_abi.cc
...
DHAVE_CONFIG_H: not found
...
ar cru libv3test.a testsuite_abi.o testsuite_allocator.o testsuite_hooks.o
c:\aaronwl\cs\env\mingw-head\20050330\bin\ar.exe: testsuite_abi.o: No
such file or directory
make[5]: *** [libv3test.a] Error 1

The attached patch fixes this problem by explicitly invoking the scripts
with the shell.

Tested on i686-pc-mingw32.

OK?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-main-20050330-shell.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050330/febaece9/attachment.ksh>


More information about the Gcc-patches mailing list