LINK /NOENTRY

Syntax

No arguments are anticipated. The option is /noentry only.

The /noentry option is for the command line only. It is not valid as a directive in an object file.