Skip to content

Latest commit

 

History

History
50 lines (46 loc) · 1.18 KB

File metadata and controls

50 lines (46 loc) · 1.18 KB
title NAME (C/C++) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
f1_keywords
name
dev_langs
C++
helpviewer_keywords
NAME .def file statement
ms.assetid 5c9b6bd8-9275-46a5-afba-f17a5936dc26
caps.latest.revision 7
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

NAME (C/C++)

Specifies a name for the main output file.

NAME [application][BASE=address]  

Remarks

An equivalent way to specify an output file name is with the /OUT linker option, and an equivalent way to set the base address is with the /BASE linker option. If both are specified, /OUT overrides NAME.

If you build a DLL, NAME will only affect the DLL name.

See Also

Rules for Module-Definition Statements