Help and Support

Article ID: 103787 - Last Review: June 1, 2005 - Revision: 4.0

The Microsoft C compiler looks for Link.exe after it finds Cl.exe

This article was previously published under Q103787
Expand all | Collapse all

SUMMARY

When you use using the Microsoft compilers that are listed in the Applies To section and the linker is called by the compiler by specifying the /c switch, the first folder in which the compiler searches for Link.exe after the compiler looks in the current folder is the folder that Cl.exe was found in. If Link.exe is not found in the same folder as Cl.exe, the folders that are specified by the PATH environment variable are searched.

APPLIES TO
  • Microsoft C Professional Development System 6.0a
  • Microsoft C/C++ Professional Development System 7.0
  • Microsoft Visual C++ 1.0 Professional Edition
  • Microsoft Visual C++ 1.5 Professional Edition
  • Microsoft Visual C++ 2.0 Professional Edition
  • Microsoft Visual C++ 2.1
  • Microsoft Visual C++ 2.2
  • Microsoft Visual C++ 4.0 Standard Edition
  • Microsoft Visual C++ 4.1 Subscription
  • Microsoft Visual C++ 6.0 Service Pack 5
  • Microsoft Visual C++ 5.0 Standard Edition
Keywords: 
kbhowto kbcompiler kbinfo KB103787
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Article Translations