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



The information in this article applies to:

  • Microsoft C for MS-DOS
  • Microsoft C for OS/2
  • Microsoft C/C++ for MS-DOS 7.0
  • Microsoft Visual C++ for Windows, 16-bit edition 1.0
  • Microsoft Visual C++ for Windows, 16-bit edition 1.5
  • Microsoft Visual C++, 32-bit Editions 1.0
  • Microsoft Visual C++, 32-bit Editions 2.0
  • Microsoft Visual C++, 32-bit Editions 2.1
  • Microsoft Visual C++, 32-bit Editions 2.2
  • Microsoft Visual C++, 32-bit Editions 4.0
  • Microsoft Visual C++, 32-bit Editions 4.1
  • Microsoft Visual C++, 32-bit Editions 6.0
  • Microsoft Visual C++, 32-bit Editions 5.0

This article was previously published under Q103787

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.

Modification Type:MajorLast Reviewed:6/1/2005
Keywords:kbhowto kbCompiler kbinfo KB103787 kbAudDeveloper