home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Harvest C 1.3 / Source Code / Options.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-04  |  2.1 KB  |  66 lines  |  [TEXT/ALFA]

  1. /*
  2.  * Harvest C
  3.  * 
  4.  * Copyright 1991 Eric W. Sink   All rights reserved.
  5.  * 
  6.  * This file defines the interface for type records.
  7.  * 
  8.  */
  9.  
  10. #ifndef Options_INTERFACE
  11. #define Options_INTERFACE
  12.  
  13. /* ------------------ Compilation Options ------------------ */
  14.  
  15. /*
  16.  * Below, the structure containing compilation options for ECC. This
  17.  * structure will be modified as new options are added later.
  18.  */
  19.  
  20. #include "Errors.h"
  21.  
  22. #define FRAME 6
  23.  
  24. struct OptionsS {
  25.     int                             preproconly;
  26.     int                             genC;
  27.     int                             gen68k;
  28.     /*
  29.      * The above are really the four modes of operation.  Only 68k code
  30.      * generation is useful for compilation.
  31.      */
  32.     int                             useTrigraphs;
  33.     int                             int2byte;
  34.     int                             Annotate;
  35.     int                             progress;
  36.     int                             _mc68020;
  37.     int                             _mc68881;
  38.     int                             metrics;
  39.     int                             nocodegen;
  40.     int                             SignedChars;
  41.     int                             oopecc;
  42.     short                           StdIncludeVol;
  43.     long                            StdIncludeDir;
  44.     short                           StdLibVol;
  45.     long                            StdLibDir;
  46.     short                           StdAppVol;
  47.     long                            StdAppDir;
  48.     short                           StdBuildVol;
  49.     long                            StdBuildDir;
  50.     char                            StdAppName[128];
  51.     int                             GiveTime;
  52.     long                            StdAppSig;
  53.     int                             dolink;
  54.     int                             PCrelSlits;
  55.     int                             MPWoutput;
  56.     int                             MBGSymbols;
  57.     int                             allwarnings;
  58.     int                             AregGlobals;
  59.     int                             BigGlobals;
  60.     int                             nowarnings;
  61.     short                           Warnings[MAXWARNINGS];
  62. };
  63.  
  64.  
  65. #endif
  66.