Partager via


/Zl - Remove Default-Library Name from Object File (Windows CE 5.0)

Send Feedback

This option tells the compiler not to place the default-library name in the object file. Ordinarily, the compiler puts the name of the library in the object file so the linker can use the correct library to link with the object file. As a result, the object file is slightly smaller. The option affects all files that follow it on the command line.

Use the /Zl option when you are using the LIB utility to build a library. You can use /Zl to compile the object files you plan to put in your library, thereby omitting the default-library names from your object modules.

Although the /Zl option saves only a small amount of space for a single object file, the total amount of space saved is significant in a library containing many object modules.

See Also

Compiler Options

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.