### /Gn Compiler Option

Syntax: | Default:
/Gn[+|-] | /Gn-

Use /Gn to suppress linker information about the default libraries defined by the /Gd, /Gm, /Ge, and /Rn options. All libraries must then be explicitly identified at link time.

Setting /Gn automatically passes the /NODEFAULTLIBRARYSEARCH option to the linker. By default, the compiler embeds the names of the default libraries in the object files, for use by the linker.

Summary of Compiler Options
Options Passed to the Linker by Default