Q43045: CL Environment Variable in QuickC Err Msg: Object Not Found
Article: Q43045
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_c
Last Modified: 2-MAY-1989
Including the /c on your CL environment variable when compiling inside
the QuickC Version 2.00 environment can cause the following error
message:
L1093 : SOURCE.OBJ : object not found
This problem can be corrected by removing the /c from the CL
environment variable and erasing the .OBJ file which the compiler has
generated for the source program.
Oddly enough, this option will not cause a problem unless it is
followed by another valid option, i.e., cl=/c will not cause the link
failure.
The CL environment variable is used by CL.EXE and QCL.EXE for setting
default compiler options. While working inside the QuickC 2.00
environment, it is a good idea to be conscious of which environment
variables are set by CL.
Utilizing the CL environment variable usually facilitates programming
within the QuickC 2.00 environment. For example, the following line
will tell the QuickC compiler to always use the coprocessor library:
SET CL=/FPi87
This can be very useful for programming inside the QuickC environment
as well as outside of it.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" 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.
Copyright Microsoft Corporation 1986-2002.