On MSYS, the system headers are found in /mingw/include ... I made a modified
gcc/config/i386/t-mingw32 adding:

NATIVE_SYSTEM_HEADER_DIR = /mingw/include

And it works here.

Also, the configure script needs to be started with a relative path or the
"srcdir" anyway needs to be relative or gengtype will fail. This problem is
documented in bug #16024 (gengtype doesn't crash here, but it still fails not
finding a path)

-- 
           Summary: Build fails on MSYS/MingGW because of incorrect
                    SYSTEM_HEADER_DIR
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: guardia at sympatico dot ca
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19607

Reply via email to