/Fo - Rename Object File

This option allows you to override the default naming for object files, and give an object files the name you prefer, or create it in a different directory.

/Fofilename

By default, the compilers give each object file a base name that is the same as its corresponding source file, adding the extension .obj.

The following example shows how to compile the source file This.c, and give the resulting object file the name This.obj by default. The directory specification B:\Object\ tells the compiler to create This.obj in the directory named \Object on drive B.

CLxxx /FoB:\OBJECT\ THIS.C

Where CLxxx is the name of the compiler for the target processor family.

See Also

About Microprocessor Compilers | ARM Guide | Hitachi Guide | MIPS Guide

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.