FIX: MASM 6.0 ML Driver Does Not Pass /nologo to LINK Correctly

Last reviewed: September 11, 1997
Article ID: Q73189
6.00 6.00a 6.00b | 6.00 6.00a 6.00b
MS-DOS           | OS/2
kbtool kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft Macro Assembler for MS-DOS, versions 6.0, 6.0a, and 6.0b
  • Microsoft Macro Assembler for OS/2, versions 6.0, 6.0a, and 6.0b

SYMPTOMS

If you attempt to suppress the LINK copyright banner by specifying the /nologo switch on the command line of the ML.EXE driver in the Microsoft Macro Assembler (MASM) version 6.0, 6.0a, or 6.0b, ML does not pass /nologo to the linker correctly.

CAUSE

The /nologo option is used to suppress the display of the copyright banner for Microsoft language products and utilities. For example, the assembler may be invoked as follows:

   ml /nologo test.asm

This will assemble a file without first displaying the assembler copyright message. To pass the /nologo switch to the linker, the following command line should be used:

   ml test.asm /link /nologo

This does not work properly with the ML driver. The /nologo switch is passed in the "library" response area and is not seen by LINK until after the copyright banner has been displayed.

RESOLUTION

There are two workarounds for this problem:

   1. Invoke LINK separately with the /nologo switch.

      -or-

   2. Set the LINK environment variable as follows to specify the
      that /nologo option should be used at all times:

      SET LINK=/nologo

STATUS

Microsoft has confirmed this to be a problem in MASM version 6.0, 6.0a, and 6.0b. This problem was corrected in MASM for MS-DOS version 6.1.


Additional reference words: 6.00 6.00a 6.00b buglist6.00 buglist6.00a
buglist6.00b fixlist6.10
KBCategory: kbtool kbfixlist kbbuglist
KBSubCategory: MLIss
Solution Type : kbfix


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: September 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.