FIX: MASM 6.0 ML Driver Does Not Pass /nologo to LINK Correctly (73189)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q73189 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:
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:
- Invoke LINK separately with the /nologo switch.
-or-
- 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.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbfix KB73189 |
---|
|