好文档就是一把金锄头!
欢迎来到金锄头文库![会员中心]
电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

clexe命令参数详解.doc

20页
  • 卖家[上传人]:gg****m
  • 文档编号:206333050
  • 上传时间:2021-10-31
  • 文档格式:DOC
  • 文档大小:80KB
  • / 20 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • cl. exe命令参数详解The problem of precompiled heads has finally been solved, and 2011. 2. Ils new year has begunCL.exe link.exe command (turn)1, setting environment variables:PATH=C:\Program, Files\Microsoft, Visual, Studio, 8\VC\binINCLUDE=C:\Program, Files\Microsoft, Visual, Studio, 8\VC\includeLIB=C:\Program, Files\Microsoft, Visual, Studio, 8\VC\libIf you can,t find the mspdb80. dll file from the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE 〃msobj80. dll, mspdb80.dll, mspdbcore.dll copy, mspdbsrv. exe〃 the four files to the C:\Program Files\Microsoft Visual Studio 8\VC\bin.2, command options:1) /C: retains armotation statements in the preprocessing output2) /c: compiles and does not cormect, which is equivalent to selecting Compile under the Build menu"3) /D: defines constants and macros, which have the same effect as the #define in the source program4) /E: pretreatment C, C + + source file, the source files in all pre compiler directives and macro expansion, the notes will be removed, and then the output of the pre processor is copied to the output of the standard output device, and adding #line in the beginning and at the end of each file5) /EH: specifies what exception handling model the compiler uses6) /EP: and /E, just remove the #line7) the stack size of the /F: setup program8) /FA: sets what list files to be generated (assembly, assembly and machine code, assembly and source code, assembly and machine code, and source code)9) /Fa: specifies the storage path and / or file name of the list file to be set with /FA10) /FD: generates interdependent information about files11) the storage path and / or file name of the /Fd: setup program database file (PDB)12) /Fe: sets the storage path and / or file name of the final executable file13) /FI: pre - specifies the header file that has the same effect as the include in the source file14) /Fm: creates the map file15) /Fo: sets the storage path and / or file name of the compiled Obj file16) /Fp: sets the storage path and / or file name of the precompiled file (PCH)17) /FR: generates browsing information (SBR) files18) /Fr: differs from /FR in that /Fr does not include local variable information19) /G3: optimizes code generation for 80386 processors20) /G4: optimizes code generation for 80486 processors21) /G5: optimizes code generation for Pentium processors22) /G6: optimizes code generation for Pentium Pro processors23) /GA: optimizes for Windows applications24) /GB: optimizes code generation for Pentium processors, using the mixed instruction set of 80386, 80486, Pentium, and Pentium Pro, which is the default option for code generation (the Processor corresponds to Blend in the program attribute options)25) /GD: is optimized for the Windows dynamic library (DLL), which is not implemented in VC626) /Gd: specifies the function call rules using _cdecl27) /Ge: activation stack detection28) /GF: eliminates the repeating string in the program and puts it in a read-only buffer29) duplicate strings in the /Gf: elimination program30) /Gh: calls the hook (hook) function --penter at the beginning of each function31) /Gi: allows progressive compilation32) /Gm: allows minimization of rebuild33) /GR: allows runtime type information (Run-Time, Type, Infomation)34) /Gr: specifies the function call rules using _fastcall35) the /Gs: control stack detects the memory size used36) /GT: supports the fier-safety of data allocated with _declspec (thread)37) /GX: allows synchronous exception handling to be equivalent to /EHsc switches38) /Gy: allows the compiler to encapsulate each function inthe form of COMDATs for connector calls39) /GZ: allows you to capture Release build errors at Debug bu订d40) /Gz: specifies the function call rules using _stdcall41) /H: limits the length of an external name42) /HELP: lists all command switches of the compiler43) /I: specifies the search path for the header file44) /J: changes the default type of char from signed char to unsigned char45) /LD: creates a dynamic link library46) /LDd: creates a Debug version of the dynamic link library47) /link: passes the specified option to the connector48) /MD: multi thread, DLL version of the C RunTime Library49) /MDd: multithreading and DLL Debug version of the C library, RunTime50) /ML: selects the single threaded version of the C Run - Time Library51) /MLd: selects the single thread, Debug version of the C Run一 Time Library52) /MT: selects the multithreaded version of the C Run-Time Library53) /MTd: selects multithreaded, Debug versions of the C Run - Time Library54) /nologo: does not display the copyright information of the program55) /01: optimizations minimize executable code generated56) /02: optimizations enable executable code to produce the fastest speed57) /Oa: indicates that no alias is used in the compiler, so that the execution speed of the program can be incr。

      点击阅读更多内容
      关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
      手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
      ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.