This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
- From: "Ralf dot Wildenhues at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2008 11:02:58 -0000
- Subject: [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
- References: <bug-32272-386@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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