home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk466.lzh / Dice / dice206b.lzh / netdcc / doc / dcpp.doc < prev    next >
Text File  |  1990-12-16  |  2KB  |  86 lines

  1.  
  2. dcpp/dcpp                                dcpp/dcpp
  3.  
  4.                  DCPP.DOC
  5.  
  6.                   C PREPROCESSOR
  7.  
  8.  
  9.                   Matthew Dillon
  10.                   891 Regal Rd.
  11.                   Berkeley, Ca. 94708
  12.                   USA
  13.  
  14.                   uunet.uu.net!overload!dillon
  15.  
  16.  
  17.  
  18.     dcpp sourcefile [-o outfile] [-I includedir ...] <options>
  19.  
  20.     DCPP automatically scans dinclude: and dinclude:amiga/ .  Any -I option
  21.     directories are searched in sequence BEFORE dinclude: or dinclude:amiga.
  22.     Directories specified with -I need not contain a trailing slash.
  23.  
  24.     As with all DCC commands, the space between the option and the file
  25.     arguments for -o and -I is optional.
  26.  
  27.     DCpp probably does not implement everything perfectly and might fail on
  28.     some constructions.
  29.  
  30.     Dcc normally runs DCPP before DC1
  31.  
  32.                 CPP.DOC
  33.  
  34.     The following symbols are defined by default
  35.  
  36.     mc68000         -running on a 68000
  37.  
  38.     _DCC            -'DCC' compiler
  39.  
  40.     __STDC__        -ANSI __STDC__
  41.  
  42.     AMIGA            -AMIGA computer
  43.  
  44.  
  45.                Options to CPP
  46.  
  47.     -1.N
  48.         This option selects the OS.  If not specified, CPP searches
  49.         dinclude:amiga for amiga includes.    If specified, CPP searches
  50.         dinclude:amiga1N for amiga includes instead.
  51.  
  52.         DCC supports this option and passes it along to cpp.  This allows
  53.         developers to compile under either 1.3 or 1.4 (or whatever) with
  54.         the flick of an option.  DCC also uses a different amiga.lib
  55.         (see DCC docs)
  56.  
  57.     -d[#]
  58.         This option turns on CPP debugging
  59.  
  60.     -o[ ]file
  61.         This option sets the output file, otherwise stdout is used.
  62.  
  63.     -ffp
  64.         Passed from DCC, tells preprocessor to define _FFP_FLOAT.
  65.         If not specified, preprocessor defines _SP_FLOAT
  66.  
  67.  
  68.     -D[ ]define[=stuff]
  69.         This option predefines a symbol
  70.  
  71.     -E file
  72.         specify stderr file, any errors are appended to the file
  73.         instead of to stdout.  Useful for batch compiles
  74.  
  75.     -U
  76.         This option undefines certain symbols (see DOC/DCC.DOC)
  77.  
  78.     -I0
  79.         This option causes CPP *NOT* to include any default
  80.         directories in the include search list.
  81.  
  82.     -I[ ]dir
  83.         This option adds the specified directory to the include
  84.         search list.  A hanging slash on the end is not required.
  85.  
  86.