home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 (Alt) / MACD 5.bin / workbench / libs / unixlib.lha / unix / scc / scc.readme < prev    next >
Encoding:
Text File  |  1996-12-01  |  1.1 KB  |  36 lines

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