FIX: Library Name Changes When Compile Option Changes

ID: Q99574


The information in this article applies to:


SYMPTOMS

An attempt to add a library to a project fails if the library has a name like LLIB<xxx>.LIB. Visual C++ changes the name of the library to LLIB<x>[E|7|A]<x>.lib depending on the coprocessor option specified in the C++ Compiler Options dialog box.


RESOLUTION

Perform one of the following two steps to address this problem:


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++, version 6.0.


MORE INFORMATION

Perform the following eight steps to demonstrate this problem:

  1. From the Options menu, choose Project.


  2. Choose Linker in the Customize Build Settings group.


  3. Add "lliboops" (without the quotation marks) to the list of libraries in the Input category.


  4. Choose OK.


  5. Choose Compiler in the Customize Build Settings group.


  6. In the Floating-Point Calls list box, choose 80x87 Calls


  7. Choose OK.


  8. Choose Linker in the Customize Build Settings group. The name of the new library is "llibo7ps."


Additional query words: 1.00 1.50 Library Name Change .LIB linker


Keywords          : kb16bitonly kbVC600fix kbGrpDSTools 
Version           : 
Platform          : 
Issue type        : kbbug 

Last Reviewed: August 5, 1999