Linker Syntax (Windows CE 5.0)

Send Feedback

To run LINK.EXE, use the following command syntax:

LINK arguments

The arguments include options and filenames and can be specified in any order. Options are processed first, then files. Use one or more spaces or tabs to separate arguments.

On the command line, an option consists of the following, in this order:

  • An option specifier
  • A dash (-) or a forward slash (/)
  • The name of the option

Option names cannot be abbreviated.

Some options take an argument, specified after a colon (:).

No spaces or tabs are allowed within an option specification, except within a quoted string in the /COMMENT option.

Specify numeric arguments in decimal or C-language notation.

Option names and their keyword or filename arguments are not case sensitive, but identifiers as arguments are case sensitive. See Linker Reference for a complete list.

To pass a file to the linker, specify the filename on the command line after the LINK command.

You can specify an absolute or relative path with the filename, and you can use wildcards in the filename.

If you omit the dot (.) and filename extension, LINK assumes .OBJ for the purpose of finding the file. LINK does not use filename extensions or the lack of them to make assumptions about the contents of files; it determines the type of file by examining it, and processes it accordingly.

See Also

Linker Options | Linker Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.