------- Comment #23 from mkoeppe at gmx dot de 2006-12-04 00:17 ------- (In reply to comment #22) > Shell script issue: > While building in builddir/gcc there are 3 scripts generated: > as, nm, collect-ld. These have a wrong header. When gmake fails, you need to > modify the first line "#!sh" -> "#!/bin/sh" and restart. Unfortunately I don't > know where the right place for patching this is. > Interix apparently cannot execute scripts starting with "#!sh".
I now found the source of this in config/mh-interix, which says SHELL=sh. At least on interix 3.5+ there is /bin/sh, so this line should be removed! It causes the build to fail, as "#!sh" scripts are now disabled for security reasons on interix. Martin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15212