home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / icc4v108.zip / icc4.txt < prev    next >
Text File  |  2001-03-01  |  8KB  |  193 lines

  1. icc4 supported options.
  2. Other options are ignored.
  3.  
  4. -C[+|-]
  5.    -C+: Perform compile only, no link.
  6.    -C-: Perform compile and link.  
  7.    Default: -C-
  8. -D<name> Define preprocessor macros to the value '1'.
  9. -D<name>=<value> Define preprocessor macros to the value given.
  10. -Fc[+|-]
  11.    -Fc+: Perform syntax and semantic check only.
  12.    Default: -Fc-
  13. -Fe<name> Specify the name of the executable file.
  14.    If you specify name.exe, you need not specify -Ge+ option.
  15.    If you specify name.dll, you need not specify -Ge- option.
  16. -Fm[+|-]
  17.    -Fm+: Produce a linker map file.
  18.    -Fm-: Produce no linker map file.
  19.    Default: -Fm-
  20. -Fm<name> Specify the name of the linker map file.
  21. -Fo[+|-]
  22.    -Fo+: Generate the object file.
  23.    -Fo-: Generate no object file.
  24.    Default: -Fo-
  25. -Fo<dir><name> Specify the name/path of the object file.
  26. -G3 Generate code optimized for use on an x86 processor.
  27. -G4 Generate code optimized for use on an 80486 processor.
  28. -G5 Generate code optimized for use on an Pentium processor.
  29. -G6 Generate code optimized for use on an Pentium2 processor.
  30. -Gd[+|-]
  31.    -Gd+: Use the version of the runtime library that is dynamically linked.
  32.    -Gd-: Use the version of the runtime library that is statically linked.  
  33.    Default: -Gd-
  34. -Ge[+|-]
  35.    -Ge+: Use the version of the runtime library that assumes an EXE is being built.
  36.    -Ge-: Use the version of the runtime library that assumes a DLL is being built.  
  37.    Default: -Ge+
  38. -Gf[+|-]
  39.    -Gf+: Generate fast floating-point code.
  40.    -Gf-: Not generate fast floating-point code.
  41.    Default: -Gf-
  42. -Gh[+|-]
  43.    -Gh+: Generate profiler hooks in function prologs.
  44.    -Gh-: Do not generate profiler hooks in function prologs.
  45.    Default: -Gh-
  46. -Gi[+|-]
  47.    -Gi+: Generate fast integer code.
  48.    -Gi-: Do not generate fast integer code.  
  49.    Default: -Gi-
  50. -Gl[+|-]       
  51.    -Gl+: Enable smart linking.
  52.    -Gl-: Disable smart linking. 
  53.    Default: -Gl-
  54. -Gm[+|-]
  55.    -Gm+: Link with multithread runtime libraries.
  56.    -Gm-: Link with singlethread runtime libraries.
  57.    Default: -Gm+
  58. -Gn[+|-]       
  59.    -Gn+: Do not generate default libraries in object.
  60.    -Gn-: Generate default libraries in object.
  61.    Default: -Gn-
  62. -Gp[+|-]      
  63.    -Gp+: Generate code that allows the __parmdwords() function to work.
  64.    -Gp-: Do not support use of the __parmdwords() function.
  65.    Default: -Gp-
  66. -Gr[+|-]       
  67.    -Gr+: Allow object code to run at ring 0.
  68.    -Gr-: Do not allow object code to run at ring 0.  
  69.    Default: -Gr-
  70. -Gs[+|-]       -Gs+
  71.    -Gs+: Suppress stack probes in function prologs.
  72.    -Gs-: Do not suppress stack probes in function prologs.
  73.    Default: -Gs-
  74. -Gt[+|-]
  75.    -Gt+: Store variables so that they do not cross 64K boundaries.
  76.    -Gt-: Store variables so that they can cross 64K boundaries.
  77.    Default: Gt-
  78. -Gx[+|-] 
  79.    -Gx+: Disable the generation of C++ exception handling code.
  80.    -Gx-: Enable the generation of C++ exception handling code.
  81.    Default: -Gx-
  82. -H<num> Set the maximum length of external names.
  83.    Default: -H255
  84. -I<path>[;<path>] Specify where to search for include files.
  85. -J[+|-]
  86.    -J+: Make default char type unsigned.  
  87.    -J-: Make default char type signed.
  88.    Default: -J+
  89. -Mp Set the default calling convention to _Optlink. This is default.
  90. -Ms Set the default calling convention to _System.
  91. -Mc Set the default calling convention to __cdecl.
  92. -Mt Set the default linkage to __stdcall.
  93. -Nd<name> Specify the name for the default data, uninitialized data, and constant segments. 
  94.    Default: use DATA32, BSS32 and CONST32_RO.
  95. -Nt<name> Specify the name for the default text segment.
  96.    Default: -NtCODE32
  97. -Nx<name> Specify segment name for exception handling code and data.
  98.    Default: use  EH_CODE and EH_DATA.
  99. -O[+|-|2|3|4]
  100.    -O-: Disable optimization of generated code.
  101.    -O+, -O2, -O3, -O4: Enable optimization of generated code.
  102.    Default: -O-
  103. -Oc[+|-]      
  104.    -Oc+: Optimize for code size rather than speed.
  105.    -Oc-: Disable this optimization.
  106.    Default: -Oc-
  107. -Oi[+|-]       
  108.    -Ot+: Turn on function inlining.
  109.    -Ot-: Turn off function inlining.
  110.  Default: -Ot-
  111. -Op[+|-]      
  112.    -Op+: Disable all stack pointer optimizations and forces the stack to be chained.
  113.    -Op-: Enables all stack pointer optimizations and allow stack to be unchained.
  114.    Default: -Op-
  115. -Oq[+|-]       -Oq-
  116.    -Oq+: Forces the stack to be chained.
  117.    -Oq-: Allow stack to be unchained.
  118.    Default: -Oq-
  119. -Os[+|-]       -Os-
  120.    -Os+: Invoke instruction scheduler.  
  121.    -Os-: Do not invoke instruction scheduler.  
  122.    Default: -Os-
  123. -qalias=<val> Specifies the aliasing assertion to be applied to your compilation unit.
  124.    val=allp,typ,addr,ansi
  125. -qarch=<val> Specifies the architecture on which the executable program will be run.
  126.    val=blend,x86,486,pentium,pentium2
  127.    Default: -qarch=blend
  128. -qbitfields=[signed|unsigned] Specifies sign of bitfields.
  129.    Default: -qbitfields=unsigned.
  130. -qdbgunref Generate symbol table information for unreferenced variables.
  131. -qdbgnounref Do not generate symbol table information for unreferenced variables. This is default.
  132. -qdigraph Allow special digraph and keyword operators.
  133. -qnodigraph Do not allow special digraph and keyword operators. This is default.
  134. -qignerrno Tell the optimizer that the program will never refer to or set errno.
  135. -qignprag=<val> Ignore the aliasing pragmas disjoint and/or isolated_call.
  136.    val=disjoint,isolated,all
  137. -qinitauto=<val> Initialize automatic storage by the value.
  138.    val is two digits hex
  139. -qisolated_call=<name>[:<name>] List functions that do not change data objects at time of function call.
  140. -qlibansi Process standard C libary names as system function.
  141. -qnolibansi Do not process standard C libary names as system function. This is default.
  142. -qlonglong Allow long long integers. This is default.
  143. -qnolonglong Do not allow long long integers.
  144. -qro Put string literals in read only area. This is default.
  145. -qnoro Do not put string literals in read only area.
  146. -qrtti=<val> Generate run-time type information.
  147.    val=dynamiccast,typeinfo,all
  148. -qnortti Do not generate run-time type information. This is default.
  149. -qtune=<val> Specifies the architecture system for which the executable program is optimized.
  150.    val=blend,x86,486,pentium,pentium2
  151.    Default: -qtune=blend
  152. -R[e|n]
  153.    -Re: Produce code to run with a complete runtime environment.
  154.    -Rn: Produce code to run with no runtime environment.
  155.    Default: -Re
  156. -Sp[1|2|4|8|16] Pack aggregate members on specified alignment.
  157.    Default: -Sp4
  158. -STACK=<val> Specifies the stack size. <val> can be decimal or hex (ex. 0x1000).
  159. -Ti[+|-] 
  160.    -Ti+: Generate debugging information.
  161.    -Ti-: Do not generate debugging information.
  162.    Default: -Ti-
  163. -Tm[+|-]
  164.    -Tm+: Generate debugging information.
  165.    -Tm-: Do not generate debugging information.
  166.    Default: -Tm-
  167. -Tx[+|-]       
  168.    -Tx+: Generate full exception register dump.
  169.    -Tx-: Do not generate full exception register dump.
  170.    Default: -Tx-
  171. -U<name> Undefine user macro.
  172. -W0 Output only severe and unrecoverable error messages generated by the compiler.
  173. -W1 Output error, severe, and unrecoverable error messages generated by the compiler.
  174. -W2 Output warning, error, severe and unrecoverable error messages generated by the compiler.
  175. -W3 Output all messages generated by the compiler. This is default.
  176. -PMTYPE=[VIO|PM] Specify OS/2 application type.
  177.    Default: -PMTYPE=VIO
  178. -EXEPACK=[YES|NO|1|2] Compress executable.
  179.    Default: -EXEPACK=2
  180. -OPTFUNC Remove unreferenced functions.      
  181. -NOOPTFUNC Do not remove unreferenced functions. This is default.
  182. -SHOWPROGRESS=<value> Show the progress of build by the interval of value seconds.
  183. -CODESTORE=<codestore> Specify the code store file. The file type must be ".ics".
  184. -NOCODESTORE Does not use code store file.
  185.    Default: -CODESTORE=icc4.ics
  186.    The icc4.ics is stored at the directory that TMP points.
  187. -CLEANCODESTORE Clear the code store file.
  188.  
  189. Difference between icc4 and icc:
  190.                 icc4 icc
  191. -G3 Means:      x86  80386
  192. -Gm Default is: -Gm+ -Gm-
  193.