Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. R:\>cl /?
  2. Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
  3. Copyright (C) Microsoft Corporation. All rights reserved.
  4.  
  5. C/C++ COMPILER OPTIONS
  6.  
  7.  
  8. -OPTIMIZATION-
  9.  
  10. /O1 minimize space /O2 maximize speed
  11. /Ob<n> inline expansion (default n=0) /Od disable optimizations (default)
  12. /Og enable global optimization /Oi[-] enable intrinsic functions
  13. /Os favor code space /Ot favor code speed
  14. /Ox maximum optimizations /Oy[-] enable frame pointer omission
  15.  
  16. -CODE GENERATION-
  17.  
  18. /GF enable read-only string pooling /Gm[-] enable minimal rebuild
  19. /Gy[-] separate functions for linker /GS[-] enable security checks
  20. /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc)
  21. /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions)
  22. /EHc extern "C" defaults to nothrow
  23. /fp:<except[-]|fast|precise|strict> choose floating-point model:
  24. except[-] - consider floating-point exceptions when generating code
  25. fast - "fast" floating-point model; results are less predictable
  26. precise - "precise" floating-point model; results are predictable
  27. strict - "strict" floating-point model (implies /fp:except)
  28. /Qfast_transcendentals generate inline FP intrinsics even with /fp:except
  29. /GL[-] enable link-time code generation /GA optimize for Windows Application
  30. /Ge force stack checking for all funcs /Gs[num] control stack checking calls
  31. /Gh enable _penter function call /GH enable _pexit function call
  32. /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu)
  33. /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking
  34. /RTCu Uninitialized local usage checks
  35. /clr[:option] compile for common language runtime, where option is:
  36. pure - produce IL-only output file (no native executable code)
  37. safe - produce IL-only verifiable output file
  38. oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003
  39. initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002
  40. noAssembly - do not produce an assembly
  41. /Gd __cdecl calling convention /Gr __fastcall calling convention
  42. /Gz __stdcall calling convention /GZ Enable stack checks (/RTCs)
  43. /QIfist[-] use FIST instead of ftol()
  44. /hotpatch ensure function padding for hotpatchable images
  45. /arch:<SSE|SSE2> minimum CPU architecture requirements, one of:
  46. SSE - enable use of instructions available with SSE enabled CPUs
  47. SSE2 - enable use of instructions available with SSE2 enabled CPUs
  48. /Qimprecise_fwaits generate FWAITs only on "try" boundaries, not inside "try"
  49.  
  50. -OUTPUT FILES-
  51.  
  52. /Fa[file] name assembly listing file /FA[scu] configure assembly listing
  53. /Fd[file] name .PDB file /Fe<file> name executable file
  54. /Fm[file] name map file /Fo<file> name object file
  55. /Fp<file> name precompiled header file /Fr[file] name source browser file
  56. /FR[file] name extended .SBR file
  57. /doc[file] process XML documentation comments and optionally name the .xdc file
  58. (press <return> to continue)
  59.  
  60. -PREPROCESSOR-
  61.  
  62. /AI<dir> add to assembly search path /FU<file> forced using assembly/module
  63. /C don't strip comments /D<name>{=|#}<text> define macro
  64. /E preprocess to stdout /EP preprocess to stdout, no #line
  65. /P preprocess to file /Fx merge injected code to file
  66. /FI<file> name forced include file /U<name> remove predefined macro
  67. /u remove all predefined macros /I<dir> add to include search path
  68. /X ignore "standard places"
  69.  
  70. -LANGUAGE-
  71.  
  72. /Zi enable debugging information /Z7 enable old-style debug info
  73. /Zp[n] pack structs on n-byte boundary /Za disable extensions
  74. /Ze enable extensions (default) /Zl omit default library name in .OBJ
  75. /Zg generate function prototypes /Zs syntax check only
  76. /vd{0|1|2} disable/enable vtordisp /vm<x> type of pointers to members
  77. /Zc:arg1[,arg2] C++ language conformance, where arguments can be:
  78. forScope[-] - enforce Standard C++ for scoping rules
  79. wchar_t[-] - wchar_t is the native type, not a typedef
  80. /ZI enable Edit and Continue debug info
  81. /openmp enable OpenMP 2.0 language extensions
  82.  
  83. -MISCELLANEOUS-
  84.  
  85. @<file> options response file /?, /help print this help message
  86. /bigobj generate extended object format /c compile only, no link
  87. /errorReport:option Report internal compiler errors to Microsoft
  88. none - do not send report
  89. prompt - prompt to immediately send report
  90. queue - at next admin logon, prompt to send report (default)
  91. send - send report automatically
  92. /FC use full pathnames in diagnostics /H<num> max external name length
  93. /J default char type is unsigned
  94. /MP[n] use up to 'n' processes for compilation
  95. /nologo suppress copyright message /showIncludes show include file names
  96. /Tc<source file> compile file as .c /Tp<source file> compile file as .cpp
  97. /TC compile all files as .c /TP compile all files as .cpp
  98. /V<string> set version string /w disable all warnings
  99. /wd<n> disable warning n /we<n> treat warning n as an error
  100. /wo<n> issue warning n once /w<l><n> set warning level 1-4 for n
  101. /W<n> set warning level (default n=1) /Wall enable all warnings
  102. /WL enable one line diagnostics /WX treat warnings as errors
  103. /Yc[file] create .PCH file /Yd put debug info in every .OBJ
  104. /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file
  105. /Y- disable all PCH options /Zm<n> max memory alloc (% of default)
  106. /Wp64 enable 64 bit porting warnings
  107.  
  108. -LINKING-
  109.  
  110. /LD Create .DLL /LDd Create .DLL debug library
  111. /LN Create a .netmodule /F<num> set stack size
  112. /link [linker options and libraries] /MD link with MSVCRT.LIB
  113. /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib
  114. /MTd link with LIBCMTD.LIB debug lib
  115. (press <return> to continue)
  116.  
  117. -CODE ANALYSIS-
  118.  
  119. /analyze[:WX-] enable code analysis
  120. WX- - code analysis warnings should not be treated as errors even if /WX is
  121. invoked
  122.  
  123.  
  124. R:\>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement