Christian Joensson wrote:
Í just tried to build gcc-4.1.2 for cygwin... but failed. My old way
of test building does not seem to work anymore for me.
[...]
grep '^#' < kinds.h > kinds.inc
/bin/sh: kinds.h: No such file or directory
[...]
Any ideas of what might be going wrong?

A quick bit of google-searching on "site:gcc.gnu.org kinds.h" turns up an email thread on the fortran@ list that refers to PR26893. See:
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26893

In short, from what I could tell from a quick scan of that PR, the problem is that you've got LD_LIBRARY_PATH set in such a way that it's not including the GMP header files.

If you're using the standard Cygwin-package installation of GMP, I'd guess this is because you haven't installed the "development" GMP package that includes the header files; since Cygwin puts that into a separate package, you need to install both. (MPFR is the same way.)

- Brooks

Reply via email to