Microsoft KB Archive/32070

{|
 * width="100%"|

PRB: D1001, D2027, D4005 - CL Components Corrupt or Missing
'Article ID: Q32070

Creation Date: 23-JUN-1988

Revision Date: 28-MAR-1996' The information in this article applies to:

  The Microsoft C/C++ Compiler (CL.EXE), included with: - Microsoft C/C++ for MS-DOS, version 7.0 - Microsoft Visual C++ for Windows, versions 1.0 and 1.5 - Microsoft Visual C++ 32-bit Edition, versions 1.0, 2.0, 2.2, 4.0, 4.1 SYMPTOMS

The C and C++ compilers are composed of several components. Depending on the compiler options, the compile may fail if one or more of these components is not present or if a component is corrupted. The error generated is   Command line warning D4005 : cannot find 'YYYYYYYY.EXE'; Please enter new filename (full path) or CTRL+C to quit:

-or-

D1001: cannot execute YYYYYYYY.EXE

-or-

D2027: cannot execute YYYYYYYY.EXE where YYYYYYYY.EXE is a component of the compiler. A list of these component files and the versions they are supplied with is included below. With versions 8.0 and 8.0c, these errors may not occur if no optimizations are used. If you are not compiling using optimizations, the compiler will need to run only one additional stage of the compile, either C1XX3216.EXE or C13216.EXE. If those executables can be loaded, the Q23.EXE component of the compiler, the fast compiler, can function without additional components such as C23216.EXE. Please note that we do not recommend using the compiler without all the components supplied with the product. RESOLUTION

There are several reasons why these error messages would be generated:  The file indicated in the error message is not present in a directory specified by the PATH environment variable, and is not in the current directory during the compile. To work around this, either alter the PATH environment variable to point to the directory where the component is located, or copy the component file to a directory that is in the PATH. The component may be corrupted. If this is the case, it will be necessary to reinstall the component from the source disks to fix the problem. There is insufficient memory available to run the component indicated in the error message. In this case, it is necessary to free system resources to enable the compiler to run the component. The version of MS-DOS and the version given by COMMAND.COM differ. If the versions are different, the compiler component may not be able to open temporary files needed to complete the compile.

MORE INFORMATION

The following is a list of the various components needed by CL.EXE for the different versions of the compiler, along with their file sizes. Blank entries indicate that the component is not available in that particular version. Microsoft C/C++    7.0 and 7.0a    7.0 (OS/2 version) ---

CL.EXE              71680 bytes      35303 bytes C13216.EXE         258048 bytes C11616.EXE                          257678 bytes C1XX3216.EXE       423936 bytes C1XX1616.EXE                        450594 bytes C23216.EXE         434176 bytes C21616.EXE                          493028 bytes C23PCD.EXE         241974 bytes     244891 bytes C33216.EXE         179200 bytes C31616.EXE                          185950 bytes Q23.EXE            139076 bytes     142263 bytes

Microsoft Visual C++   1.0 Pro 1.0 Standard        Version 1.5 CL version 8.0        CL version 8.0c

CL.EXE                      96800 bytes             91648 bytes C13216.EXE                 360992 bytes            333312 bytes C1XX3216.EXE               573984 bytes            552960 bytes C23216.EXE                 507424 bytes            493056 bytes C23PCD.EXE                 254904 bytes            332800 bytes C33216.EXE                 252448 bytes            244224 bytes Q23.EXE                    148820 bytes            208384 bytes NOTE: In Visual C++ 1.0 Standard Edition, C23216.EXE, C23PCD.EXE, and C33216.EXE are not present because the Standard Edition does not perform optimization, therefore those files are not necessary. Microsoft Visual C++ 32-bit Editions

Version 1.0       Version 2.0        Version 2.2 CL version 8.0    CL version 9.0     CL version 9.1 CL.EXE        87552 bytes        33280 bytes        33280 bytes C13232.EXE   389632 bytes C1XX3232.EXE 616448 bytes C23232.EXE   482816 bytes C1.EXE                          318464 bytes       318976 bytes C1XX.EXE                        673792 bytes       674304 bytes C2.EXE                          517632 bytes       520192 bytes

Version 4.0       Version 4.0,       Version 4.1 Standard CL version 10.0   CL version 10.0    CL version 10.1 -  CL.EXE         37376 bytes        37888 bytes        37888 bytes C1.EXE       377856 bytes       377856 bytes       408064 bytes C1XX.EXE     775680 bytes       775680 bytes       756736 bytes C2.EXE       567296 bytes       555008 bytes       547328 bytes 
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 7.00 8.00 8.00c 9.00 1.00 1.50 2.00 2.20

4.00 4.10

KBCategory: kbtool kbprb

KBSubcategory: CLIss