[Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as
dje at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 1 21:45:00 GMT 2005
------- Additional Comments From dje at gcc dot gnu dot org 2005-07-01 21:44 -------
One option: have gcc/Makefile stamp-as target test "build" and output
appropriate script to MS Windows BATCH file as.bat.
*) case "$build" in \
*mingw32*) echo 'XXX' > as.bat \
... ;;
*) echo '#!$(SHELL)' > as; echo 'exec $< "$$@"' >> as ; \
chmod +x as ;; \
esac
esac
assuming that GCC execing "as" will find as.bat. The link/copy for other
directories using as$(exeext) might also cause problems. So one might need to
place the mingw32 test as the outer case and separate the entire logic for ./*,
../*, and * between mingw32 and everything else.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22259
More information about the Gcc-bugs
mailing list