home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1996 December / CD_shareware_12-96.iso / DOS / Programa / CCDL122.ZIP / DOC / SWITCHES.DOC < prev   
Encoding:
Text File  |  1996-08-08  |  1.6 KB  |  39 lines

  1. Switches prefixed with a '+' or '-' may be turned on orr off.  The
  2. last occurance of the switch determines the state.  For these switches
  3. '/' is equivalent to '-'.  Note that codegen parameters must generally
  4. be the same for all modules in a program, or unpredictable results will
  5. occur.
  6.  
  7. +i  - make CPP file
  8. /ffile - process arguments in file 'file'
  9. +l  - make LST file
  10. /w-all - no warnings, errors only
  11.     warnings may also be suppressed individually.  No documentation 
  12.     is currently available.  Read ERROR.C to get a grasp of the 
  13. method
  14. /C  - codegen params 
  15.     /C+2 - (680x0 only) specify 68020 or better processor 
  16.     /C-b - no BSS 
  17.     /C+d - display internal diagnostics 
  18.     /C-l - don't put C source in the ASM file
  19.     /C-m - don't mangle symbols with a leading underscore
  20.     /C+p - pack variables for space.  On a 68020+ minimize at word 
  21.         alignment
  22.     /C+r - reverse order of bit ops 
  23.     /C+L - (680x0 only) use large data model 
  24. /Dxxx  - define a macro 'xxx' 
  25. /E##  - max number of errors to generate 
  26. /Idirs  - specify include directories.  use a semicolon to seperate multiple 
  27.       directory specifications.  The directories specified by the 
  28.       environment variable "CCINCL" are always searched first.  
  29. /O  - Optimizer params 
  30.     /O+R    Allow register optimizations on the register set 
  31.         (default is /O+Rafd) 
  32.     /O-R    Disallow register optimizations on the register set 
  33.         specify the register set as any combnation of the 
  34.         letters a,f,d 
  35. +S  - reserved, no use
  36.  
  37. Compiler will look for the symbol CC386 (or CC68K) in the environment.
  38. If it finds it, it will evaluate any command line arguments in it
  39. prior to evaluating the command line.