PRB: Mixing Case of LINK Option Causes Error L1093 or D4002

ID Number: Q49871

5.10 6.00 6.00a 6.00ax 7.00 | 5.10 6.00 6.00a

MS-DOS | OS/2

Summary:

SYMPTOMS

When specifying linker options from the CL or the QCL command line,

the word "link" must be in all lowercase letters. If the word

"link" is not all lowercase, the error that occurs is either:

Command line warning D4002 : ignoring unknown flag '-xxxx'

-or-

LINK : fatal error L1093: xxxx.OBJ : object not found

Note: xxxx is the four letters keyed in after the "/" (forward

slash) or the "-" (hyphen).

RESOLUTION

Retype the command line, ensuring "link" is typed in all lowercase

letters.

More Information:

For example, issuing the following command from the MS-DOS or OS/2

command prompt

cl file.c /Link graphics.lib

produces the following error:

Command line warning D4002 : ignoring unknown flag '-Link'

Additional reference words: 1.0 1.00 2.0 2.00 2.10 2.5 2.50 2.50 5.1

6.0 6.0a 6.0ax 6.00 6.00a 6.00ax s_quickc 7.00 7.0