### Name Compiler Output Files

You can use file management compiler options (/Fa, /Fe, /Fi, /Fl, /Fm, /Fn and /Fo) to assign names and extensions to your output files.

If you use one of these options without specifying a name, the name of the following source file is used, and given the default extension. The only exception is /Fm; if you do not specify a name with /Fm, the name of the first file given on the command line is used, with the default extension .map.

If you use these options and specify a name without an extension, the default extension is used. For example, if you specify /Flcome, the listing file will be called come.lst. Although you can specify an extension of your own choosing, you should use the default extensions.

Exception
If you use the /Fe option, you must specify a name or a path for the file. If you specify only a path, the file will have the same name as the first source file on the command line, with the path specified.

#### Examples

- Name the object file:

          icc  /Fobarney.obj fred.c

  This names the object file barney.obj instead of the default, fred.obj.

- Name the executable file:

          icc  /Febarney.exe fred.c

  This names the object file barney.exe instead of the default, fred.exe.

- Name the listing file:

          icc  /Floutput.my /L fred.c

  This creates a listing output file called output.my instead of fred.lst.

- Name the linker map file:

          icc  /Fmoutput.map fred.c

  This creates a linker map file called output.map instead of fred.map.

- Name the assembler listing file:

          icc  /Fabarney fred.c

  This names the output barney.asm instead of fred.asm.

Compiler Output

Parameters for Compiler Options

Summary of Compiler Options