文档详情

cl.exe命令参数详解(国外英文资料).doc

发布:2017-06-06约1.83万字共24页下载文档
文本预览下载声明
cl.exe命令参数详解(国外英文资料) The problem of precompiled headers finally solved the New Year of 2011.2.11 The cl.exe line.exe command (turn) Setting environment variables: PATH = C: \ Program Files \ Microsoft Visual Studio 8 \ VC \ bin INCLUDE = C: \ Program Files \ Microsoft Visual Studio 8 \ VC \ INCLUDE LIB = C: \ Program Files \ Microsoft Visual Studio 8 \ VC \ LIB If prompt can not find mspdb80. DLL Files, from C: \ Program Files \ Microsoft Visual Studio 8 \ Common7 \ IDE copy msobj80. DLL, mspdb80. DLL, mspdbcore. DLL, MSPDBSRV. Exe these four documents to C: \ Program Files \ Microsoft Visual Studio 8 under VC \ \ bin. Command options: 1)/C: keep comments in the pre-processing output 2)/c: Compile, not connect, which is the equivalent of Compile under the Build menu 3)/D: defining constants and macros has the same effect as # define in the source program 4)/E: pretreatment of C, C + + source file, the source file of all the precompiled directives and macro expansion in comments will be removed, and then to copy the output of a preprocessor output to standard output device, and in the start and end of each file to join # line 5)/EH: specify which exception handling model is used by the compiler 6)/EP: same/E, just get rid of # line 7)/F: the stack size of the setup program 8)/FA: how to set up the list files (assembly, assembly and machine code, assembly and source, assembly and machine code, and source code) 9)/Fa: specify the location path and (or) file name of the list file set by/Fa 10)/FD: the dependent information for the generated files 11)/Fd: set the path and/or file name of the program database file (PDB) 12)/Fe: set the location path and (or) file name of the final executable file 13)/FI: the preprocessed header file has the same effect as the # include in the source file 14)/Fm: create a map file 15)/Fo: set the repository path and/or file name of the compiled Obj file 16)/Fp: set the location path and (or) file name of the precompiled file (PCH) 17)/FR:
显示全部
相似文档