------- Comment #8 from Ralf dot Wildenhues at gmx dot de 2008-06-09 11:02 ------- (In reply to comment #7) > I am currently using GCC4.2.1 and the same problem still exist as described. [...] > build/genmodes -h > tmp-modes.h > /bin/sh: build/genmodes: No such file or directory > make[3]: *** [s-modes-h] Error 127 [...] > Please advise on how to solve the above problem. Or is it a known bug?
Have you ever started configure and make within the source tree? As as consequence of that, if the directory $top_srcdir/host-$host_noncanonical exists, then that would lead to the above error when later building outside of the source tree (replace the variables $top_srcdir and $host_noncanonical with whatever fits your setup, e.g., ../gcc-4.2.1/host-i686-pc-linux-gnu). A solution would be to remove that directory, then remove the build tree and start afresh. -- Ralf dot Wildenhues at gmx dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Ralf dot Wildenhues at gmx | |dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32272