Microsoft KB Archive/99574

From BetaArchive Wiki

FIX: Library Name Changes When Compile Option Changes

Q99574



The information in this article applies to:


  • Microsoft Visual C++, versions 1.0, 1.5





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:


  • Add the library to the project list rather than specifying the library in the linker options.
  • Change the name of the library.



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 : kbVC600fix kbGrpDSTools
Issue type : kbbug
Technology : kbVCsearch kbAudDeveloper kbvc150 kbvc100


Last Reviewed: May 9, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.