Please consider that this intrusive sentence could instead be proclaiming that you help sponsor this research.

Home > Programming > Tools > Visual C++ > Compiler > Options

CL /BK

Syntax

/BK[pathname]

The optional pathname follows immediately within the one command-line token.

Relations

This option has no syntactic relations with other options.

However, it does influence the -il option that passes to all the compiler modules.

Behaviour

The /BK option is exactly /Bk with the addition of suppressing the front-end C and C++ compilers.

A use for /BK, if not the only use, is to help perform the compilation and code-generation stages of compilation as separate operations, presumably so that the intermediate files created by the one can be inspected (or edited) before proceeding to the other. Thus, run CL with the /Bk and /Zs options, which respectively keep the intermediate files and limit execution to the front-end compilers. Then run CL with the /BK option, naming those same intermediate files, to resume (with processing or code generation) where the front end left off.

This page was created on 27th October 2005. The last significant modification was on 7th April 2006.

Copyright © 2005-2006. Geoff Chappell. All rights reserved.

Please consider that this intrusive sentence could instead be proclaiming that you help sponsor this research.

Home > Programming > Tools > Visual C++ > Compiler > Options

[Home][Programming Samples][Application Notes][Security Notes][Editorial][Consultation][Contacts]