[Bug driver/53286] New: [mingw] improve "CreateProcess: No such file or directory" error message

zeratul976 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue May 8 22:39:00 GMT 2012


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

             Bug #: 53286
           Summary: [mingw] improve "CreateProcess: No such file or
                    directory" error message
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zeratul976@hotmail.com


When running GCC on Windows (MinGW), a wide variety of configuration problems
exhibit as a symptom the following error message:

CreateProcess: No such file or directory

For example, one gets this error when compiling a program if cc1plus.exe is
missing or in the wrong directory.

This error message is unhelpful because it does not say *which* file was not
found; as a result, the underlying configuration problem is difficult to
diagnose and resolve.

Could this error message be modified to include the name of the file that was
not found? For example:

CreateProcess: cc1plus.exe: no such file or directory



More information about the Gcc-bugs mailing list