Share via


/Fo - Rename Object File (Windows CE 5.0)

Send Feedback

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 code 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.

CL /FoB:\OBJECT\ THIS.C

See Also

Compiler Options

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.