Share via


File Alternatives

The following table shows the compiler options for setting certain output file types.

Compiler option Syntax File type Resulting file name
/FA - Create Listing Files /FAfilename Source-, assembly-, and machine-code listing Filename.asm or Filename.cod.
/Fo - Rename Object File /Fofilename Object Filename.obj.
/Fe - Rename Executable File /Fefilename Executable Filename.exe.
/Fa - Rename Assembly-File Listing /Fafilename Assembly listing Filename.asm.
/Fm - Create Map File /Fmfilename Linker map Filename.map.
/Fp - Specify Precompiled Header /Fpfilename Precompiled header Filename.pch.
/FR, /Fr - Generate Browser Files /FRfilename
/Frfilename
Source Browser file; /FR includes local variables and /Fr excludes local variables Filename.sbr.

In every case, the filename argument must follow the specified option with no intervening space. The compiler can produce only one kind of object or assembly listing for each source file.

The following table shows the types of filename argument.

Type Description
File name Creates a listing for every source file specified in the CL environment variable, on the command line, and in any response file.
Drive name or path Creates the specified file or files in the given location; the default name is the base name of the first file, plus the default extension. If the filename argument is a directory, end the path with a backward slash (\) to enable the compiler to differentiate the path from a file name.
None Creates listings in the current directory for every source file specified in the CL environment variable, on the command line, and in any response file; uses base name of source file and appends a default extension.

See Also

Output File Redirection | General-Purpose Compiler Options

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.