home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / Outils / Environnement / cc.readme < prev    next >
Encoding:
Text File  |  1998-09-24  |  1.2 KB  |  39 lines

  1. Short:    Unix-like frontend for SAS/C and Dice
  2. Author:   wiedmann@zdv.uni-tuebingen.de
  3. Uploader: wiedmann@zdv.uni-tuebingen.de
  4. Type:     dev/c
  5.  
  6.  
  7. Porting Makefiles from Unix for SMake or DMake and vice versa is
  8. rather nasty. cc allows to use the Unix-Makefiles with sc and dcc
  9. without modification. (Hopefully :-)
  10.  
  11. cc is just a program which reads command line options, converts them
  12. and calls sc or dcc.
  13.  
  14. Supported options are:
  15.  
  16.     -sas        Run as a frontend of SAS/C
  17.     -dice        Run as a frontend of Dice
  18.     -gcc        Run as a frontend of gcc (Default)
  19.     
  20.     Best way is to put one of these into the environment variable
  21.     CCOPT.
  22.  
  23.  
  24.     -v        Verbose (try it :-)
  25.     -c        Don't link
  26.     -a        Compile only, don't assemble
  27.     -E        Run preprocessor only
  28.     -I<dir>     Look for include files in directory <dir>
  29.     -L<dir>     Look for libraries in directory <dir>
  30.     -o<file>    Set the name of the created file; it is recommended
  31.             to use this as the respective frontends might behave
  32.             different in selecting default names.
  33.     -D<symbol>  Defines preprocessor symbol; use -Dsymbol=var for
  34.             specific values.
  35.     -U<symbol>  Undefine the preprocessor symbol <symbol>.
  36.     -l<lib>     Link with library <lib>.
  37.     -g        Turn debugging on.
  38.     -O        Optimize
  39.