BUG: Library Name Changes When Compile Option Changes

Last reviewed: July 17, 1997
Article ID: Q99574
1.00 1.50 WINDOWS kbtool kbbuglist

The information in this article applies to:

  • Microsoft Visual C++ for Windows, versions 1.0 and 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. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

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 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 reference words: 1.00 1.50 Library Name Change .LIB linker
KBCategory: kbtool kbbuglist
KBSubcategory: VWBIss
Keywords : kb16bitonly


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.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.