home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource3 / 121_01 / ccc.doc < prev    next >
Encoding:
Text File  |  1985-08-21  |  2.3 KB  |  67 lines

  1.  
  2.  
  3.      CCC (1)                   BDS C Users' Group                   CCC (1)
  4.  
  5.  
  6.  
  7.  
  8.      NAME   
  9.      NAME 
  10.           ccc - a command driver for BDS C 
  11.  
  12.  
  13.      SYNOPSIS   
  14.      SYNOPSIS 
  15.           ccc                                                     
  16.           ccc [global flags] <file> [flags] <file> [flags] ...  
  17.  
  18.  
  19.      DESCRIPTION   
  20.      DESCRIPTION 
  21.           ___                                                          
  22.           Ccc is a command driver for BDS C.  It takes global flags, 
  23.           and one or more sets of local flags plus filenames.  It 
  24.           builds a submit file which will compile all the files with 
  25.           an extension of .c, and link the output with the remaining 
  26.           files, using the l2 linker.  
  27.           If the global flag -n is NOT present, CP/M SUBMIT is then 
  28.           invoked to process the file.  
  29.           Identifiable global compiler flags are propagated to all 
  30.           compile steps; other global flags are propagated to all link 
  31.           steps.  Similarly, identifiable local compiler flags are 
  32.           passed to the compile step; other local flags are passed to 
  33.           the link step.  
  34.  
  35.  
  36.      CAVEATS   
  37.      CAVEATS 
  38.           This program was tested with v1.50 of the BDS C compiler 
  39.           under CP/M 2.2.  It should work with other versions of BDS C 
  40.           and CP/M, but has not been tested.  
  41.  
  42.  
  43.      EXAMPLES   
  44.      EXAMPLES 
  45.           ccc -e6100 pencil.c printer.c driver -l crayon queue
  46.                compiles pencil & printer, externals at 6100, linking in others
  47.  
  48.  
  49.      FILES   
  50.      FILES 
  51.           cc.com,l2.com,cc.sub 
  52.  
  53.  
  54.      BUGS   
  55.      BUGS 
  56.           The l2 flags -m, -org, -ovl cannot be used, since they would 
  57.           be passed to the compiler.  
  58.           Flags to the C compiler must not have a space between 
  59.           themselves and their argument, otherwise they would be taken 
  60.           as filenames.  
  61.  
  62.  
  63.      NOTES   
  64.      NOTES 
  65.           Requires local.c for link.  
  66.  
  67.  
  68.           The link step uses the L2 linker; by changing a #define, it 
  69.           is possible to use CLINK.  However, this is not advisable, 
  70.           due to conflicts with the -o, -d, and -r flags.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.                                       -1-
  87.  
  88.  
  89. e BDS C compiler