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:
- From the Options menu, choose Project.
- Choose Linker in the Customize Build Settings group.
- Add "lliboops" (without the quotation marks) to the list of libraries in the Input category.
- Choose OK.
- Choose Compiler in the Customize Build Settings group.
- In the Floating-Point Calls list box, choose 80x87 Calls
- Choose OK.
- 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 |